title: Primefaces update component after <p:ajax listener>
body: <p>I have a selectOneMenu that changes a value in the backing bean and based on that value, another component is being displayed or not. What I would like is to update that certain component after the value in the backing bean is changed by the selectOneMenu</p>
  
  <pre><code>&lt;h:selectOneMenu value="#{backingBean.id.value}" &gt;
              &lt;f:selectItem itemLabel="Choose" itemValue="0"/&gt;
              &lt;f:selectItems value="#{backingBean.idList}"
                  var="id" itemLabel="#{id.name}" itemValue="#{id.value}" /&gt;
               &lt;p:ajax listener="#{backingBean.changeId}" process="@this" update="userMenu"/&gt;
  &lt;/h:selectOneMenu&gt;
  &lt;p:menu id="userMenu" rendered="#{backingBean.id.value != 0}"&gt;
  &lt;/p:menu&gt;
  </code></pre>
  
  <p>The value changes in the backing bean but the  is not updated.</p>