title: How to invoke a method when enter is pressed in a p:inputText
body: <p>I have a JSF ajax keydown event linked to an event listener in a backing bean.</p>
  
  <p>The code in the JSF file is below.</p>
  
  <pre><code>&lt;p:inputText value="#{someBean.value}&gt;
  &lt;p:ajax event="keydown" listener="#{someBean.keyDownEvent}" /&gt;
  &lt;/p:inputText&gt;
  </code></pre>
  
  <p>I want to get "Enter" button event code. When I click on enter I need to perform some specific event on server side. How can I get that event code using ajax call?</p>