On 1/11/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > I have defined a DynaValidatorForm in > struts-config.xml file like this > <form-bean name="viewlinephase" > type="org.apache.struts.action.DynaActionForm"> > <form-property name="viewNames" > type="java.util.Collection" /> > </form-bean> > > In My jsp i have defined a Action class which uses > this bean > I want to iterate through all viewNames in my jsp > using <c:forEach..> tag > How do i go it > I tried > <c:forEach var="viewName" > items="${viewlinephase.viewNames}"> <snip/>
${viewlinephase.map.viewNames} You'll be able to CGLib enhance if you wish in 1.3.x. -Rahul > <html:option value="${viewName.l082CODE}"> > <c:out value="${viewName.nameDesc}"/> > </html:option> > </c:forEach> > > But i get Unable to find a value for "viewNames" in > object of class > "org.apache.struts.action.DynaActionForm" using > operator "." > > How do i do it > > Ashish --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]