*
The moose likes Spring and the fly likes how to do Multiple checkbox binding in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "how to do Multiple checkbox binding in spring" Watch "how to do Multiple checkbox binding in spring" New topic
Author

how to do Multiple checkbox binding in spring

Ramanuj Dev
Greenhorn

Joined: Jul 30, 2009
Posts: 5
Hi All,

A am new to spring. I am try to bind multiple checkbox but getting error.
I have checked lots of forum thread for the same but haven't get success.

Here is my java class.





My JSP page bind is.


Is it initBind is necessary for multiple check box bind ? if yes now can i do my case.

Thanks
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

What error are you getting?

Is timeSlotList initialized anywhere?

Here's a blog post about dynamic list binding in Spring MVC that may help you.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to do Multiple checkbox binding in spring
 
Similar Threads
How to persist form data across different pages
Capturing Checkbox value using spring framework
[SPRING] Java Bean doesn't get prepared
JSTL without el to bind in spring
Check All button for all spring check boxes array