title: p:selectOneMenu Reset is not working
body: <p>I am facing problem in resetting the p:selectOneMenu. In my facelet, I have two p:selectOneMenu items. My requirement is that, if user chooses something from first p:selectOneMenu, then second p:selectOneMenu should reset itself and vice versa.</p>
  
  <p>Below is the code I am using:</p>
  
  <pre><code>&lt;p:outputLabel for="country" value="Country:" /&gt;
  &lt;p:selectOneMenu id="country" effect="none"
      value="#{infoBean.infoDataHolder.selectedCountry}"&gt;
      &lt;f:selectItem itemLabel="Select One" itemValue=""
          noSelectionOption="true" /&gt;
      &lt;f:selectItems
          value="#{infoBean.infoDataHolder.availableCountries}"
          var="aCountry" itemLabel="#{aCountry.description}"
          itemValue="#{aCountry.description}" /&gt;
      &lt;p:ajax update="state"
          listener="#{infoBean.resetState()}" /&gt;
  &lt;/p:selectOneMenu&gt;
  
  &lt;p:outputLabel for="state" value="State:" /&gt;
  &lt;p:selectOneMenu id="state" effect="none"
      value="#{infoBean.infoDataHolder.selectedState}"&gt;
      &lt;f:selectItem itemLabel="Select One" itemValue=""
          noSelectionOption="true" /&gt;
      &lt;f:selectItems
          value="#{infoBean.infoDataHolder.availableStates}"
          var="aState" itemLabel="#{aState}"
          itemValue="#{aState}" /&gt;
      &lt;p:ajax update="country"
          listener="#{infoBean.resetCountry()}" /&gt;
  &lt;/p:selectOneMenu&gt;
  </code></pre>
  
  <p>My backing bean InfoBean is in RequestScope and infoDataHolder is in View Scope.
  In infoBean.resetCountry() / infoBean.resetState(), I am making the infoBean.infoDataHolder.selectedCountry / infoBean.infoDataHolder.selectedState as null.</p>
  
  <p>Now what is happening is that when I am choosing State, Country p:selectOneMenu is getting resetted. but choosing country, State p:selectOneMenu is not getting resetted.
  Could you please help me here. Thanks.</p>