title: p:steps example not functioning
body: <p>I'm trying use the STEPS component - Primefaces. But in the documentation the tutorial is very poor.</p>
  
  <p>Can someone write an example using steps with property rendered or something like that, how Can I show and hide a panel using STEPS component.</p>
  
  <p>I tried like this but does not work</p>
  
  <p>My xhtml</p>
  
  <pre><code>&lt;p:steps id="testSteps"&gt;
              &lt;p:menuitem value="Personal" update="testSteps" actionListener="#{BeanTest.shown2()}"/&gt;
              &lt;p:menuitem value="Seat Selection" update="testSteps"/&gt;
          &lt;/p:steps&gt;
  
          &lt;form id="formShowField1" &gt;
              &lt;p:panel rendered="#{BeanTest.showfield1}"&gt;
                       &lt;p:outputLabel value="FORM 1"/&gt;
              &lt;/p:panel&gt;
          &lt;/form&gt;
  
          &lt;form id="formShowField2"&gt;
              &lt;p:panel rendered="#{BeanTest.showfield2}"&gt;
                  &lt;p:outputLabel value="FORM 2" /&gt;
              &lt;/p:panel&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p>My bean</p>
  
  <pre><code>public void shown1(){
      showfield1 = true;
      updateEntirePage("formShowField1");
  }
  
  public void shown2(){
      showfield1 = false;
      updateEntirePage("formShowField1");
  
      showfield2 = true;
      updateEntirePage("formShowField2");        
  }
  </code></pre>