[jboss-user] [JBoss Seam] - h:inputText onEnter support a4j for use in opensource facete

markbakker do-not-reply at jboss.com
Thu Apr 19 05:35:21 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038789#4038789

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038789



More information about the jboss-user mailing list