press enter to call webflow function

UI Components for JSF
Post Reply
rchiu5hk
Posts: 32
Joined: 29 Jun 2015, 03:50

04 Feb 2016, 03:19

Dear all,

I have below code. Want to call spring webflow function and then controller function through "selectAllEssie3S1_1" when press enter key in password field. But I find that the function was not called when debugging. Is there anything wrong??


<p:password id="encryptedKey" value="#{chkTeacherList.encryptedKeyValue}"
onkeypress="if (event.keyCode == 13) { onchange(); return false; }">
<p:ajax event="change" action="selectAllEssie3S1_1" update="gridItemName" >
</p:ajax>
</p:password>

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests