• Post Reply Bookmark Topic Watch Topic
  • New Topic

struts checkboxes  RSS feed

roseline ruba
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" />

and i used java.lang.String[] .then I got non-indexed property error...
[ September 24, 2007: Message edited by: roseline ruba ]
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!