Announcement Announcement Module
Collapse
No announcement yet.
Two submit button with two captions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Two submit button with two captions

    I have a jsp page with two submit button and their captions
    are "Next" and "Previous". And my question is:
    If i click any of these buttons how i can know which button
    i pressed.....so that i can set the view in web-flow.xml file....
    based on the caption of those buttons

  • #2
    Study the examples that come with SWF, they illustrate many uses-cases, including this one. You'll have to encode the event name in the name of the submit button, like this:

    <input type="submit" name="_eventId_myEventId" value="My Button Label" />

    Erwin

    Comment

    Working...
    X