title: JSF / Primefaces selectBooleanCheckbox component in dataTable always unchecked
body: <p>In my project i'm using JSF 2.0 and Primefaces 3.5.</p>
  
  <p>In one page i have a <code>p:dataTable</code> and the tables one column has <code>selectBooleanCheckbox</code>. I tried both of <code>p:selectBooleanCheckbox</code> and <code>h:selectBooleanCheckbox</code>. My code like as follow:</p>
  
  <pre><code>&lt;h:panelGrid columns="3"&gt;
              &lt;p:selectBooleanCheckbox id="id" value="false" /&gt;
              &lt;p:selectBooleanCheckbox id="id" value="true" /&gt;
              &lt;p:dataTable id="tbl" value="#{bean.items}" var="item" paginator="false"&gt;
                  &lt;p:column&gt;
                      &lt;h:outputText value="#{item.value}" /&gt;
                  &lt;/p:column&gt;
                  &lt;p:column&gt;
                      &lt;h:outputText value="#{item.value}" /&gt;
                  &lt;/p:column&gt;
                  &lt;p:column style="white-space:normal; text-align: center;"&gt;
                      &lt;p:selectBooleanCheckbox id="id" value="#{item.checked}" /&gt;
                      &lt;p:selectBooleanCheckbox id="id" value="true" /&gt;
                      &lt;p:selectBooleanCheckbox id="id" value="false" /&gt;
                      &lt;h:selectBooleanCheckbox id="id" value="true" /&gt;
                      &lt;h:selectBooleanCheckbox id="id" value="false" /&gt;
                  &lt;/p:column&gt;
              &lt;/p:dataTable&gt;
          &lt;/h:panelGrid&gt;
  </code></pre>
  
  <p>And the result:</p>
  
  <p><img src="https://i.stack.imgur.com/5Yzpm.png" alt="primefaces jsf selectBooleanCheckbox"></p>
  
  <p>I want to show correct case of selectBooleanCheckbox. Any suggestions?</p>