This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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 get value from innerHTML
Capturing Checkbox value using spring framework
Using JSTL Data Displayed In Browser Is Getting Fixed To 24576 Bytes(24 KB)
Getting Checkbox value - DisplayTag library
how to do Multiple checkbox binding in spring