I want to call a backing bean method by rich:hotkey.
<a4j:region>
<table>
<tr>
<td width="30px" align="center"><h:commandLink
title="search"
action="#{myController.testData()}"
id="smallsearchbutton" /> <rich:hotKey key="return"
selector="#smallSearch"
handler="#{rich:element('smallsearchbutton')}.onclick()" /></td>
</tr>
</table>
</a4j:region>
By pressing key like ctrl+a or any key that I have defined as my hotkey, I want to call the testData method in my controller and also want to render a panel.
Hello,
I can not find handler attribute for rich:hotKey in RF 4.x.
Consider please:
http://docs.jboss.org/richfaces/latest_4_3_X/vdldoc/
Try to click with JavaScript registered to onkeydown attribute.