You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Viljoen, Danie" <Da...@siemens.co.za> on 2002/01/09 13:53:58 UTC
Multibox in iterate
Hi
I iterate through a collection without any problem, but now I want to add a
checkbox for each row. I used the following in my jsp page:
<logic:iterate id="role" name="myBean" property="allRoles" >
<tr>
<td>
<html:multibox property="testChecked">
<bean:write name="role" property="name"/>
</html:multibox>
</td>
<td>
<bean:write name="role" property="name"/>
</td><td>
<bean:write name="role" />
</td>
</tr>
</logic:iterate>
If I remove the multibox tag I iterate successfully, but with the iterate
tag I'm getting:
javax.servlet.ServletException: No getter method available for property
testChecked for bean under name org.apache.struts.taglib.html.BEAN
Thank You
Danie
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>