The following worked for me: <nested:iterate property="columnNameList"> <tr> <td> <nested:text property="this/" /> </td> ....
However if I have another String collection called columnTypeList which has the same length as the columnNameList and which also I'd like to populate and display with text boxes, how would I implement that. I'd put my question as how would I loop thru another collection along with the collection mentioned in the nested:iterate tag? ----- Original Message ----- From: "Arron Bates" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 5:59 PM Subject: Re: help with logic:iterate > You're basically using the markup of the nested tags. If you have the > nightly build change your iterate tag to... > > <nested:iterate property="columnNameList"> > > ...and your text tag to.... > <nested:text property="columnName" /> > > ...and of course don't forget to close the iterate tag with the </nested:iterate> > > > If you're not on the nightly build, you can get the download from here... > http://www.keyboardmonkey.com/struts > > It simply makes quick work of iterating and nesting beans as you are here. > > > Arron. > > > Sriram Nookala wrote: > > >I have the following snippet of code in my jsp: > > > ><logic:iterate id="columnName" name="ParticipantImportWizardForm" > > property="columnNameList"> > > > ><table border="1" width="80%"> > > <tr> > > <td width="50%"><h3 align="center">Column Name</h3> > > </td> > > <td width="50%"><h3 align="center">Type</h3> > > </td> > > </tr> > > <tr> > > <td width="50%"><html:text property="columnName" /></td> > > <td width="50%"> > > <p> </p> > > </td> > > </tr> > >.... > > > >I get the error "No getter method for property columnName of bean org.apache.struts.taglib.html.BEAN". > > > >columnNameList is a collection of Strings. I can't figure out what I have to set the name and property attributes of html:text in this case. > > > > > > -- > 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]>