2 Replies Latest reply on Dec 9, 2009 2:05 AM by BJorn T Johansen

    rich:hotkey only works the first time?

    BJorn T Johansen Newbie

      I am using the following code to capture enter in a text field..:

      <a4j:jsFunction name="searchArticles" action="#{myArticleSearchController.searchArticles}" reRender="articlesearchgrid,articlestablegroup" status="waitStatus"/>
      <rich:hotKey selector="#searchfield" key="return" handler="searchArticles();return false;"/>
      


      The problem is that the first time I press Enter, the search action is called... The next time, nothing happends....

      Am I using this wrong or is it a bug?


      Regards,

      BTJ