title: Clicking on p:selectBooleanCheckbox should enable/disable the input text
body: <p>When the checkbox is selected, the corresponding input text should be enabled. But the permit property is not set, nor updateRoles listener is called. I get no exceptions, no indication of something going wrong. I am using PrimeFaces 3.4, Mojarra 2.0.8.</p>
  
  <pre><code>&lt;p:dataTable id="databases" var="database" value="#{mssqlAccDBAccess.databases}"
      sortBy="#{database.name}" resizableColumns="false"&gt;
      &lt;p:column headerText="#{label.mssqlDatabasePermission}"&gt;
          &lt;p:selectBooleanCheckbox value="#{database.permit}"
              disabled="#{not enabled}"&gt;              
              &lt;p:ajax listener="#{mssqlAccDBAccess.updateRoles}" update="user" /&gt;
              &lt;f:attribute name="selectedRecord" value="#{database}" /&gt;
          &lt;/p:selectBooleanCheckbox&gt;
      &lt;/p:column&gt; 
      &lt;p:column headerText="#{label.mssqlDatabaseName}"
          sortBy="#{database.name}"&gt;
          &lt;h:outputText value="#{database.name}" /&gt;
      &lt;/p:column&gt;
      &lt;p:column headerText="#{label.mssqlDatabaseUser}"&gt;
          &lt;p:inputText id="user" disabled="#{not database.permit or not enabled}"
              value="#{database.user}"&gt;       
          &lt;/p:inputText&gt;
      &lt;/p:column&gt;
  &lt;/p:dataTable&gt;
  </code></pre>
  
  <h3>Edit 1</h3>
  
  <p>The <strong>updateRoles</strong> method look like this:</p>
  
  <pre><code>public void updateRoles(AjaxBehaviorEvent event) {  
      SelectBooleanCheckbox permit = (SelectBooleanCheckbox) event.getComponent();
      boolean checked = (Boolean) permit.getValue();
      if (checked) {
          Database database = (Database) permit.getAttributes().get("selectedRecord");
          showRoles(database.getRoles());         
      } else {
          hideRoles();
      }       
  }
  </code></pre>
  
  <p>I've added <code>&lt;f:attribute name="selectedRecord" value="#{database}" /&gt;</code>. It was not present there because I didn't consider it relevant.</p>