title: JSF selectonemenu does not update
body: <p>i am beginner in JSF ,i have a problem with selectonemenu item.When i choose the  an item ,for example ' FirstLabel',outputpanel should be shown.However ,selectone menu does not update my choice.I use primefaces 3.1 library.How can i solve this problem.Thanks for helps.</p>
  
  <pre><code>            &lt;p:selectOneMenu value="#{denemeView.str}" effect="fold" editable="true"  &gt;  
                  &lt;f:selectItem itemLabel="Please choose!." itemValue="" /&gt; 
                  &lt;f:selectItem itemLabel="FirstLabel" itemValue="1" /&gt; 
  
                  &lt;f:selectItem itemLabel="SecondLabel" itemValue="2" /&gt; 
  
                  &lt;p:ajax   process="@this"  update=":Form2:panel1"/&gt;
                  &lt;p:ajax process="@this" update=":Form2:panel2"/&gt;
              &lt;/p:selectOneMenu&gt; 
  
  
          &lt;/p:outputPanel&gt; 
  
  
          &lt;p:outputPanel id="panel1" rendered="#{denemeView.str=='1'}"&gt;
  
              &lt;h:outputText value="Output: * " /&gt;
              &lt;p:inputText id="out" value="#{denemeView.islem}" /&gt;
  
  
  
          &lt;/p:outputPanel&gt;
  
          &lt;p:outputPanel id="panel2" rendered="#{denemeView.str=='2'}"&gt;
  
              &lt;h:outputText value="True choice! " /&gt;
  
          &lt;/p:outputPanel&gt;
  </code></pre>