Results 1 to 3 of 3

Thread: Event parameters?

  1. #1
    Join Date
    Oct 2009
    Location
    Czech Republic
    Posts
    29

    Default Event parameters?

    Hi.

    I would like to have several events defined like this:

    Code:
    <a href="${flowExecutionUrl}&_eventId=order&by=ORDER_BY_ID">Id</a>
    <a href="${flowExecutionUrl}&_eventId=order&by=ORDER_BY_NAME">Name</a>
    ...
    These would be handled in a single view state. How do I get the value of the 'by' request parameter?

    (This events are supposed to be used for table column sorting).

    Thank you.

  2. #2
    Join Date
    Nov 2008
    Posts
    742

    Default

    In your flow definition, your request parameters can be accessed by the "requestParameters" EL variable. Check the relevant section of the SWF Reference guide for more info.

  3. #3
    Join Date
    Nov 2006
    Location
    Boston, MA
    Posts
    303

    Default

    Also, just in case you actually have a form on that page and need the bindings to take place upon submission, don't forget that submitting via "href" will only submit the URL specified in the link, and WILL not submit your form.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •