I have a button which I want to use for selecting all checkboxes in my datatable.
Jsf:
<webuijsf:button actionExpression="#{user$recentreports.selectAllButton_action}" text="#{msg.report_select_all}"/>
<webuijsf:checkbox binding="#{user$recentreports.selectCB}" valueChangeListenerExpression="#{user$recentreports.selectSingleCBEvent}" id="selectCB" toolTip="#{msg.report_select}"/>
java:
public void selectAllButton_action(){
System.out.println("select all button is clicked");// OK
System.out.println("selectCB.getValue()" + selectCB.getValue()); ...