title: Value of <h:selectBooleanCheckbox> inside <p:dataTable> remains false on submit
body: <p>I have a primefaces datatable and inside the primefaces datatable, I have a column, which contains the . The issue is,I have set the default value for the  as false. When I click/check the , its still retrieving the value as false. I tried it multiple times but not sure why its returning false. Please find the sample code below. </p>
  
  <pre><code>  &lt;p:dataTable  id="review-table" var="item" value="#{demandBean.filterVOList}"&gt;
    &lt;p:column id="SelectallID" style="text-align: left; width:40px;" rendered="#{demandBean.screeRenderVo.selectAllRenderer}"&gt;
   &lt;f:facet name="header" &gt;
    &lt;h:outputText id="selectId"  value="#{demandBean.dmdScreenLabelVO.selectAll}" /&gt;
                      &lt;div&gt;&lt;/div&gt;
  &lt;h:selectBooleanCheckbox id="checkbox1" value="Select All" onclick="checkAll(this)"/&gt;
  &lt;/f:facet&gt;
  &lt;h:selectBooleanCheckbox id="checkbox2"  value="#{item.selected}"/&gt;
  &lt;/p:column&gt;
  </code></pre>
  
  <p>Im getting the value as false, when I check the  and click on the save button. I have written an Action listerner, below is the code corresponding to the actionListener</p>
  
  <pre><code>public void saveData(ActionEvent event)
  {
      System.out.println("Entering the Save :");
      selected = isSelected();
      System.out.println("value of Selected"+selected);
  }
  </code></pre>
  
  <p>I have tried debugging the code as well, but not sure why the value for  is getting displayed as false. Please Assist. Thanks in Advance</p>