aspose file tools*
The moose likes JSF and the fly likes How generate multiple checkboxes dyanmically and know the selected checkboxes on Ajax submit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How generate multiple checkboxes dyanmically and know the selected checkboxes on Ajax submit" Watch "How generate multiple checkboxes dyanmically and know the selected checkboxes on Ajax submit" New topic
Author

How generate multiple checkboxes dyanmically and know the selected checkboxes on Ajax submit

Shane Connors
Greenhorn

Joined: Oct 29, 2009
Posts: 9
Hi Guys,

I want to generate multiple checkboxes depending of a collection in managedBean's property, and the form is having a <a4j:commandButton> ,
Problem is how can i know what are the selected checkboxes on Ajax submit. Here is my coding...




I think we should put seperate unique properties for each and every JSF component in managed bean, but those cannot generate dynamically, i think the problem is clear to you now... Hope any of you will answer this...

Thank you very much in advance
 
 
subject: How generate multiple checkboxes dyanmically and know the selected checkboxes on Ajax submit