This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts checkboxes

 
roseline ruba
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i want to display the checkbox in my page. user can check oone or more checkbox at a time. I'm using dynaActionForm. Please let me know how can i create this kind of check box. and which type i can use to specify the checkbox values (java.lang.String[] or java.util.ArrayList) ? Please help me.

i use like this <layout:checkboxes key="flightallocation.location1" property="location" styleClass="LABEL">
<layout ptions collection="locationList" property="data1" labelProperty="data2" />
</layout:checkboxes>


and i used java.lang.String[] .then I got non-indexed property error...
[ September 24, 2007: Message edited by: roseline ruba ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic