Page 1 of 1

press enter to call webflow function

Posted: 04 Feb 2016, 03:19
by rchiu5hk
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>