Announcement Announcement Module
No announcement yet.
Getting url/request parameters Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting url/request parameters

    We're doing a project with an Alfresco backend and a Spring Surf presentation tier (frontend).
    When submitting some forms, there are url parameters available, which are used to do something on the backend.
    Question is, how can I handle/get parameters with the same name.

    In the Alfresco Javascript API "argsM" is available for multivalued url arguments (see:

    For the SURF Platform this is not available as far as I can see ( or maybe I'm missing something.

    So basicly I need to get those multivalued arguments, put them in an array and send that array to the backend.
    Does anyone have a clue how I can achieve that?

  • #2
    Copy the URL argument handling webscript from in the webscripts location in your Surf project and you will see that both args and argsM are populated.


    • #3
      Yes both args and argsM are indeed populated.