title: Toggle <p:panel visibility> on change of <p:selectOneRadio>
body: <p>I would like to display a <code>&lt;p:panel&gt;</code> when selecting an item of <code>&lt;p:selectOneRadio&gt;</code>. It works when selecting for the first time, but after the ajax call it stops working.</p>
  
  <pre><code>&lt;p:selectOneRadio id="console" value="#{myBean.membre}"&gt;
      &lt;f:selectItem itemLabel="a" itemValue="false" /&gt;
      &lt;f:selectItem itemLabel="b" itemValue="true" /&gt;
      &lt;p:ajax update="panel2,panel1" /&gt;
  &lt;/p:selectOneRadio&gt;
  &lt;p:panel id="panel1" visible="#{myBean.membre == false}"
      closable="true" toggleable="true"&gt;
      &lt;ui:include src="a.xhtml" /&gt;
  &lt;/p:panel&gt;
  &lt;p:panel id="panel2" visible="#{myBean.membre == true}"
      closable="true" toggleable="true"&gt;
      &lt;ui:include src="b.xhtml" /&gt;
  &lt;/p:panel&gt;
  </code></pre>