2

I am creating a JSF app in which I am getting a list of users from a DB in a DataTable. I am showingselectBooleanCheckbox` in front of the user, and I want to implement a bulk delete option so the user can select multiple users and press the delete button. If it is PHP I can do that easily, but right now I dont know what to do.

Do I need to create a selectBooleanCheckbox in bean as well and bind it? I am looking forward for a best approach. BalusC's approach for CRUD is not applicable here as he is using custom DAO stuff.

Rich
  • 5,603
  • 9
  • 39
  • 61

1 Answers1

0

Please consider this post, How to use <h:selectBooleanCheckbox> in <h:dataTable> to select multiple rows? Hope this finds you good. It explains every step required to handle the checkboxes.

Community
  • 1
  • 1
require_once
  • 1,995
  • 3
  • 21
  • 29