I have a page with several "commadLink" and I get to "hotkey" to run when you press enter the action of one particular.
Code: Select all
<p:commandLink
id="commnadLinkFind"
action="#{beanController.find}" />
<p:hotkey bind="enter" handler=commnadLinkFind.click();" />
I'm using Primefaces 3.0.RC1-SNAPSHOT, Mojarra 2.1.4 and deploying on Tomcat 7 / JDK 6.
Thanks in advance. Best regards