You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Christopher Cheng <ch...@chengsfamily.net> on 2002/02/20 14:36:19 UTC
the nightly build problem
I got the nightly build from Apache.
Using the new iterate tag with "indexed", I am able to put the form
values on the page with get, but set doesn't seem to work with second
level form beans
<logic:iterate name="form1" property="object1.object2">
<html:text name="object2" property="property1" indexed="true">
</logic:iterate>
Looking at the source from IE, it generates something like
<input type="text" name="object2[0].property1" value="">
<input type="text" name="object2[1].property1" value="">
<input type="text" name="object2[2].property1" value="">
...
Of course object2 is in object1, not in form1. That's why it doesn't
work.
Is there anyway to work around?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>