> -----Original Message----- > From: Ankur Gupta [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 9:17 AM > To: 'Struts Users Mailing List' > Subject: Nested Lists > > > Hello, > <snip> nest list example </snip>
> > I have it structured like above. But, having difficulty > saving the values > for address. Basically, what I want to know is how to provide > the right name > for html text field for address1. What getter method should > there be in the > addOnHandForm? For nested lists to work?? I'm assuming your talking about submitting something like that in a form. If you think about the java bean standard, how would you get them to work? ActionForm is a java bean, and conforms to that standard. I would do something like this: <html:form blah> <htm:blah passenger info/> <html:link link to add address action that will forward to an address page, whose submit action will add that address to this list and then forward back to here./> <table> <logic:iterate over address/> <tr> <td> <bean:write each address/> </td> <td> <html:blah edit icon/> </td> <td> <html:blah delete icon/> </td> </logic:iterate> </table> </html:form> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]