• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts checkboxes

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic