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>&nbsp;</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]>

Reply via email to