--- Mykola Ostapchuk <[EMAIL PROTECTED]> wrote: > Hi, > I have a problem placing 2 <logic:iterate..> with nested tags on one > jsp. > When I put any of iterations below - they work fine. But when I put them > together, one after another, I receive an error: > > org.apache.jasper.JasperException: No getter method for property > projects of > bean projectsID > > Strange, bean projectsID doesn't have 'projects' property at all... > Any suggestions?
There are several open bugs against the nested tags so you may be running into one of those. Are you using a Servlet 2.3 container (ie. Tomcat 4.x)? If so, you could use JSTL tags to write the page much more concisely than the Struts tags. David > > > > ----1st iteration---- > > <logic:iterate id="projectsID" name="projectsBean" scope="request" > type="com.iprs.core.test.Project" indexId="i"> > <nested:root name="projectsID"> > > <nested:iterate id="pers" type="com.iprs.core.test.Person" > property="persons"> > <bean:write name="pers" property="firstname" ignore="true"/> > </nested:iterate> > > </nested:root> > </logic:iterate> > > > ----2nd iteration---- > > <logic:iterate id="personsID" name="personsBean" scope="request" > type="com.iprs.core.test.Person" indexId="i"> > <nested:root name="personsID"> > > <nested:iterate id="proj" type="com.iprs.core.test.Project" > property="projects"> > <bean:write name="proj" property="title" ignore="true"/> > </nested:iterate> > > </nested:root> > </logic:iterate> > > > Regards, > Mykola Ostapchuk > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

