1 Reply Latest reply on Mar 27, 2009 8:27 AM by Nick Belaevski

    a4j:form submit event

    Lak Shmi Newbie

      I have a simple tool bar where there is a search box. When the user hits "Enter" in the text box I want to submit the form which would be to fire the action on the commanLink. Right now it is submitting the form, but just does a refresh. I want to associate the commandLink's actionListener to this event. How do I do that?

      <a4j:form id="searchForm">
      <rich:toolBarGroup location="right">
      <h:outputLabel value="Customer: " for="cust" />
      <h:inputText id="cust" name="custN" value="#{SearchBean.custSearchText}" title="Enter Customer ID" inputWidth="200">
      <a4j:commandLink id="find" action="customerFind" value="Find"