1 Reply Latest reply on Dec 1, 2013 1:21 AM by jhuska

    how to call backing bean method by rich:hotkey

    aindrilaacharya

      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.