-
Jan 9th, 2006, 11:52 AM
#1
Pass a parameter via JSP
I have aquestion regarding to passing a parameter such as "M", when a button is pressed on the JSP page:
1) The TestForm.JSP
<form action="wizardFlow.htm" name="actionForm" method="post">
<input type="hidden" name="_flowExecutionId" value="${flowExecutionId}"/>
<INPUT type="submit" name="_eventId_addnew" value="Add Row" />
...
2) The flow
...
<view-state id="showResult" view="TestForm">
<transition on="addnew" to="addNewData" />
...
</view-state>
<action-state id="addNewData">
<action bean="createData" method="addNewData" />
<transition on="success" to="showResult" />
</action-state>
...
When the Add Row button is pressed, I like to pass a parameter "M", so that the method puclic Event addNewData in createData.class can receive it. How can I do it?
Thanks
Scott
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules