title: p:autoComplete not firing p:ajax event
body: <p>I had this issue for a few hours and I surfed the net to try and find the solution but unfortunately I came up short.</p>
  
  <p>Here is what I want to do.</p>
  
  <p>I want to set p:outputText values when item in my autoComplete gets selected.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>&lt;p:autoComplete 
                 completeMethod="#{dynamicSearchBean.getCustomers}"
                 minQueryLength="1"&gt;
  
                 &lt;p:ajax event="itemSelect" 
                 listener="#{dynamicSearchBean.handleSelection}" 
                 update="addName"/&gt;
  &lt;/p:autoComplete&gt;
  
  &lt;h:outputText id="addName" value="#{dynamicSearchBean.firstName}"/&gt;
  </code></pre>
  
  <p>And the backing bean:</p>
  
  <pre><code>public void handleSelection(SelectEvent event)
  {
      String value = (String) event.getObject();
      System.out.println("selected "+value);
  
  }//end method handleSelection
  </code></pre>
  
  <p>My autoComplete is working fine by getting values from DB but no event is being triggered when I select the value, and that is the main issue here.</p>
  
  <p>Thanks for the help!</p>