wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring binding with checkboxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring binding with checkboxes" Watch "Spring binding with checkboxes" New topic
Author

Spring binding with checkboxes

shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39
Hi,

I have the below code.The interestsList contains list of Interests POJO
It has two properties interestName and id.
I have to map these list items to the check boxes below



What ever interests are checked those check boxes have to be checked and remaining unchecked i tried the below but i did not like it and moreover not working.
Please help me.

shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39
The actual code is the below one

Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1632
    
    7

Not exactly sure but does this example from a little while back help? If not clarify a bit more what you are trying to do.

http://www.coderanch.com/t/588048/Spring/CheckBoxes#2678158


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring binding with checkboxes
 
Similar Threads
Problem using Spring bind
Check All button for all spring check boxes array
check boxes retrieving problem
problem with submit: NullValueInNestedPathException:
List of checkboxes and Array/ArrayList data binding not working.