Is it possible to submit an entire collection from an action form?
All the examples I have seen uses iterate to display data alone. In
order to edit them, you will have to click on a link to get into a
seperate form. I am wondering whether it's possible to edit the data
in an iterate. For example, I have:
TaskId webLabel value
001 Company XXX
002 Result Good
Submit Cancel
I would like to be able to edit the value figure on this form and
then pass to a ActionForm to validate the values entered and then pass it to the action class to be saved.
Currently I have:
In this
jsp <logic:iterate id="misTaskData" name="misTaskDataVec">
<tr class="trClass">
<td class="tdClass" width="291"><bean:write name="misTaskData" property="webLabel"/></td>
<td class="tdClass" width="215"><html:text name="misTaskData" property="value" styleClass="textLargeClass" />
</td>
<html:hidden name="misTaskData" property="taskSumId"/>
<html:hidden name="misTaskData" property="taskId"/>
<html:hidden name="misTaskData" property="taskFieldId"/>
<html:hidden name="misTaskData" property="webFieldSize"/>
<html:hidden name="misTaskData" property="dataType"/>
</tr>
</logic:iterate>
I need to validate the data entered which can be done in the ActionForm but i do not know how to read the individual values
Could somebody provide an example on how should I do this please?
Thank you in advance
Anil Raju