File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Spring binding with checkboxes

shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39

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

Joined: Mar 07, 2010
Posts: 1682

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.

[How To Ask Questions][Read before you PM me]
I agree. Here's the link:
subject: Spring binding with checkboxes
It's not a secret anymore!