title: show panel when button is pressed
body: <p>I have a button and a panel in primefaces. I want the panel to be visible when I press the button. How can I do it with primefaces?</p>
  
  <p>I have the code</p>
  
  <pre><code>        &lt;p:commandButton value="Search" ajax="false"
          actionListener="#{myBean.searchPatients}" onclick="panelwv.show();"&gt;
      &lt;/p:commandButton&gt;
      &lt;p:panel widgetvar="panelwv" visible="false" closable="true" toggleable="true" &gt;
  </code></pre>
  
  <p>but it does not work</p>