Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectmanycheckbox with selectitem

sam christopher
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic