Thanks for the responses. This works: <logic:iterate id="trick" name="MyForm" property="list" type="my.path.Club"> <TR> <TD> <html:text indexed="true" name="trick" property="data"/></p> </TD> </TR> </logic:iterate> note that you need a method: public Club getTrick(int index) in MyForm. -rejin.
----- Original Message ----- From: "Tom Klaasen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 1:08 AM Subject: Re: html:text in logic:iterate ? > To have the setters work in a logic:iterate, you should use the "nested" > taglib (keyboardmonkey.com/struts if I'm not mistaken) > > tomK > > > Rejin NS wrote: > > >Thanks for the sample code, Maris. > > > >I could make some headway, but still can't get the setters to work. Here is > >the snippet: > > > ><logic:iterate id="b" name="MyForm" property="list" type="my.path.Club"> > ><TR><TD> > > <html:text indexed="true" name="b" property="data"/></p> > ></TD></TR> > ></logic:iterate> > > > >'list' is a vector. > >'Club' has a private String variable - 'data', with get/set methods. > >The values are displayed correctly on the page. > >The problem is that the new values typed in the textbox are not updated in > >'list'. > >What did I miss? > >-rejin. > > > > > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>