Meaningless Drivel is fun!*
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
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: 1680
    
    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]
 
Consider Paul's rocket mass heater.
 
subject: Spring binding with checkboxes