Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] replacement for indexed="true"

John Trollinger

2007-02-28

Replies:

I am trying to use struts 2 and can not figure out how to do the following
that I could in struts 1.3

<logic:iterate name="person" property="addresses" id="address"
indexId="ctr">
<html:text name="address" property="addrLineOne" indexed="true" />
<html:text name="address" property="addrLineTwo" indexed="true" />
<html:hidden name="address" property="id" indexed="true"/>
</logic:iterate>

is there still a way to do this in struts 2 so I can update / add / remove
child list objects?

thanks,

John
©2008 junlu.com - Jax Systems, LLC, U.S.A.