title: p:ajax update not working with p:selectBooleanCheckbox
body: <p>I'm using JSF 2 and Primefaces 4 and have the following issue:</p>
  
  <p>I've got the following code in my XHTML:</p>
  
  <pre><code>&lt;h:form id="form"&gt;
  &lt;table&gt;  
      &lt;tr id="formats"&gt;
          &lt;td&gt;Formats&lt;/td&gt;
          &lt;td&gt;
              &lt;p:selectBooleanCheckbox value="#{bean.entity.formatted}"&gt;
                  &lt;p:ajax event="change" update="formatsSelect" /&gt; 
              &lt;/p:selectBooleanCheckbox&gt;
              &lt;p:selectOneMenu id="formatsSelect" rendered="#{bean.entity.formatted}"&gt;
                  &lt;f:selectItems value="#{bean.formats}" /&gt;
              &lt;/p:selectOneMenu&gt; 
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>It outputs a checkbox and a select menu and what I expect is that when I check the checkbox the select menu should appear and should disappear when I uncheck it.... but nothing happens, I check and uncheck it and the select menu is unaffected. </p>
  
  <p>In theory this should work since the selectBooleanCheckbox value is bound to the entity.formatted boolean value and the rendered value in the selectOneMenu is bound to the entity.formatted value and the p:ajax points to the correct id in the update attribute and the event is correct. This last bit I know since I created a listener in my bean that printed the value of formatted:</p>
  
  <pre><code>public void changeListener(){
      System.out.println(this.entity.isFormatted());
  }
  </code></pre>
  
  <p>And changed the p:ajax to:</p>
  
  <pre><code>&lt;p:ajax event="change" update="formatsSelect" listener="#{bean.changeListener}" /&gt; 
  </code></pre>
  
  <p>And it printed the value of formatted in the console. 
  What am I doing wrong?</p>