0 Replies Latest reply on Apr 19, 2007 5:35 AM by Mark Bakker

    h:inputText onEnter support a4j for use in opensource facete

    Mark Bakker Newbie

      Hello,

      I created a faceted search & navigation engine (open source):
      http://www.facetnav.org:8080/facetnav/demo.seam

      I used an imputext, with ajax support.
      Now every time when I hit enter I get the problem the whole form is submitted. Is there something I can do abouw that?


      21 <h:inputText value="#{browser.freeText}" id="freeText">
      22 <a4j:support event="onkeyup" requestDelay="1500" ignoreDupResponces="true" eventsQueue="myQueue" action="#{browser.selectionChanged}" reRender="mainGrid"/>
      23 </h:inputText

      The rest of the code for the page:
      http://facetnav.cvs.sourceforge.net/facetnav/facetnav/view/demo.xhtml?revision=1.1.1.1&view=markup