> In my JSP I have coded the following
> <logic:iterate id="element" name="FooForm" property="fooBean" 
> indexId="index"> <li><em><bean:write name="element" 
> property='<%= "fooBean[" + index + "].attID" 
> %>'/></em>&nbsp;[<bean:write name="index"/>]</li> </logic:iterate>
> 
> When I run the JSP I get the following error
> Error 500: No getter method for property fooBean[0].attID of 
> bean element 

Use JSTL:

<c:forEach items="${FooForm.FooBean}" var="fooBean">
   <c:out value="${fooBean.attID}"/>
</c:forEach>


--
Tim Slattery
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to