Hi,
Its been a while since I tried this (struts 1.0) and I wanted to check this is still the recommended approach for submitting a Collection or an Array property.
<logic:iterate name="MyForm" property="items" id="item">
<html:text name="item" property="whatever" indexed="true"/> .......... ........ </logic:iterate>
and in the FormClass, you have the following methods:
public Collection getItems()
public MyObject getItem(int idx)
{
some code to ensure the Collection 'grows' and is populated with 'blank' objects to be populated with data
}
public void setItems(Collection)
thanks Nathan
-- Nathan Coast Managing Director codeczar ltd mobile: (852) 9049 5581 email: mailto:[EMAIL PROTECTED] web: http://www.codeczar.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]