title: Primefaces selectOneMenu does not execute on change
body: <p>I am writing a PrimeFaces application.  I have the following code in my XHTML:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;p:selectOneMenu value="#{lottoCheckerBean.selectedPowerBallDrawingDate}"&gt;
      &lt;f:selectItems value="#{lottoCheckerBean.powerBallDrawingDates}" /&gt;
  &lt;/p:selectOneMenu&gt;
  </code></pre>
  
  <p>I am expecting the following code to be executed in my <code>LottoCheckerBean</code> when a value is selected:</p>
  
  <pre><code>public void setSelectedPowerBallDrawingDate(String selectedPowerBallDrawingDate) {
      //get drawing
      PowerBallDrawing currentDrawing = null;
      for (int d = 0; d &lt; powerBallDrawings.size(); d++) {
          if (powerBallDrawings.get(d).getDrawingDate().equals(selectedPowerBallDrawingDate)) {
              currentDrawing = powerBallDrawings.get(d);
              break;
          }
      }
      if (currentDrawing == null) {
          try {
              //create new drawing;
              currentDrawing = new PowerBallDrawing(selectedPowerBallDrawingDate);
              powerBallDrawings.add(currentDrawing);
              Arrays.sort(powerBallDrawings.toArray());
          } catch (Exception ex) {
              //will not happen so ignore
          }
      }
      this.selectedPowerBallDrawingDate = selectedPowerBallDrawingDate;
  }
  </code></pre>
  
  <p>However, if I set a breakpoint at the beginning of the above method, the breakpoint is not reached.</p>
  
  <p>What am I missing? </p>