This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes selectmanycheckbox with selectitem 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 » Java » JSF
Bookmark "selectmanycheckbox with selectitem" Watch "selectmanycheckbox with selectitem" New topic
Author

selectmanycheckbox with selectitem

sam christopher
Greenhorn

Joined: Sep 08, 2006
Posts: 2
hi,
i am having selectmanycheckbox inside a datatable with selectitem.
for each record in the datatable a selectmanycheckbox ll be rendered.
while running.. i select some checkboxes inside the datatable, but i am always getting the last value of the selectmanychkbox.. and the list size is also always one.
i cant use selectitems in this case.. coz i am keeping the selectmanycheckbox for each record inside the datatable.

is it possible to get all the selectmanycheckbox values from the datatable to my backing bean in a array list?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: selectmanycheckbox with selectitem
 
Similar Threads
selectManyCheckBox within a panelgrid?
nowrap with selectManyCheckbox
Using selectManyCheckbox
selectManyCheckbox in dataTable returns only the last selected item rather the whole list.
selectManyCheckbox