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