http://struts.apache.org/2.1.6/docs/tabular-inputs.html

cm132005 schrieb:
<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.

--
René Gielen
IT-Neering.net
Saarstrasse 100, 52062 Aachen, Germany
Tel: +49-(0)241-4010770
Fax: +49-(0)241-4010771
http://twitter.com/rgielen

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to