I am using a datatable. Inside that table I am using a "selectBooleanCheckbox". Can any one to help me to get the count of the selected checkbox inside the tables when trigger an action. Please find my JSF code for datatable.
Joined: Jun 02, 2009
one way would be using value change listener in the checkbox
when one clicks the check box if the value is checked that is true add it in array or list
finally when you click on button that carries out some action you can get the size of the array or the list and find out the no. of check boxex checked.
Joined: Mar 31, 2009