title: Toggle <p:panel> depending on selected value of <p:selectOneRadio>
body: <p>I would like to toggle a hidden panel when a user select a specific radio button.
  Using latest version of primefaces.</p>
  
  <p>For instance:</p>
  
  <pre><code>&lt;p:panel id="panel1" visible="false" widgetVar="firePanel" closable="true" toggleable="true"&gt;
   hello
  &lt;/p:panel&gt;
  
  &lt;p:selectOneRadio value="#{formBean.selectedOptions}" layout="pageDirection"&gt;
    &lt;f:selectItem itemLabel="Option 1" itemValue="opt1" /&gt;
    &lt;f:selectItem itemLabel="Option 2" itemValue="opt2" /&gt;
    &lt;f:selectItem itemLabel="Option 3" itemValue="opt"/&gt;                           
  &lt;/p:selectOneRadio&gt;
  </code></pre>
  
  <p>I would like to achieve something like this, but when clicking RadioButton3, not using a commandButton</p>
  
  <pre><code>&lt;p:commandButton id="but" value="Show" onclick="firePanel.show();"/&gt;
  </code></pre>
  
  <p>Is that even possible?
  thanks!</p>