<s:form action="Example.do" method="post">
<couple of fields and buttons/>
<couple of fields and buttons/>
<s:iterator id="aVO" value="listAVOs">
<s:property value="aId"/>
<s:hidden name="aId" />
<s:property value="aName"/>
<s:property value="aPhone"/>
<s:submit value=" Edit " method="edit" />
</s:iterator>
</s:form>
When the Edit is submitted, the aId passed in is actually a String of comma
separated aIds of all aVOs. The requirement is such that I need to use the
same form instead of having a s:form tag within the iterator. How to submit
the correct indexed value?
Thanks.
--
View this message in context:
http://www.nabble.com/s%3Aiterator-and-form-submission-tp23438385p23438385.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]