You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Domen, Ken" <Ke...@nike.com> on 2002/03/08 00:13:45 UTC
getting ArrayList elements as objects
I want to be able to get (after a submit) the values of the iterator
as an ArrayList of objects in the action class. Currently, substances is
an ArrayList in bean Material.
How do people achieve this? Or is there a work around?
<logic:iterate name="materialForm" property="substances" id="substances">
<tr>
<td class="table2"><html:text name="substances" property="casNumber"
styleClass="input1"/></td>
<td class="table2"><html:text name="substances"
property="substanceName" styleClass="input1"/></td>
</tr>
</logic:iterate>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>