No scriptlets needed for listed beans coming out of iterate tags. Nested tag versions do it all intuitively for free without _any_ scripting.
Arron. [EMAIL PROTECTED] wrote: >Hi > >Maybe I completely lost the context, but as far as I can see, you haven't >wrapped the <html:text> within a <html:form> tag, right? If you just want to >output text to the HTML page you're generating use <bean:write >name="columnName"> instead. > >Using <html:text> for user-input within an iterator is a completely different >story which includes indexed properties and scriptlets. > >Regards, >Klaus Bucka-Lassen >aragost, Switzerland > > >-----Original Message----- >From: struts-user-digest-help >[mailto:[EMAIL PROTECTED]] >Sent: Montag, 25. Februar 2002 17:32 >To: struts-user >Cc: srinookala >Subject: help with logic:iterate > > >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]>