aspose file tools*
The moose likes Spring and the fly likes Check All button for all spring check boxes array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Check All button for all spring check boxes array" Watch "Check All button for all spring check boxes array" New topic
Author

Check All button for all spring check boxes array

Darvesh Niz
Ranch Hand

Joined: May 12, 2008
Posts: 119
Hello
Implementing an array of checkboxes in spring is pretty tedious. i have a array of checkbox which i used to display months and a user can select mulitple months.
i want to implement check all functionlity when a user checks it all months are selected.

below is the code snipped i used in my form


and the check boxes are being rendered as



This is the java script function i wrote and this is the form declaration
<form:form name="newTour" action="new-tour.html" modelAttribute="tour" method="post">



any help
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

http://stackoverflow.com/questions/386281/how-to-implement-select-all-check-box-in-html


===Vyas Sanzgiri===
My Blog
 
 
subject: Check All button for all spring check boxes array