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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Check All button for all spring check boxes array
 
Similar Threads
how to do Multiple checkbox binding in spring
Getting Checkbox value - DisplayTag library
How to get value from innerHTML
Using JSTL Data Displayed In Browser Is Getting Fixed To 24576 Bytes(24 KB)
Capturing Checkbox value using spring framework