5 Replies Latest reply on Jun 12, 2007 9:43 AM by Blondel Michaël

    validation jsf

    Blondel Michaël Newbie

      Hello,
      I am using "suggestionbox" component of richfaces. When I sent the form and an error of validation appears, the message is written but the component doesn't work anymore.

       <h:form id="ee">
      
      
       <h:inputText value="#{suggestionBox.property}" required="true" id="text" />
      
       <h:graphicImage id="text_image" value="../images/fleche.png" />
       <rich:suggestionbox id="suggestionBoxId" for="text"
       suggestionAction="#{suggestionBox.autocomplete}" var="result"
       fetchValue="#{result.text}"
       rows="#{suggestionBox.intRows}"
       width="#{suggestionBox.width}"
       height="#{suggestionBox.height}">
       <h:column>
       <h:outputText value="#{result.text}" />
       </h:column>
       <a4j:support event="onselect" reRender="panel" />
       </rich:suggestionbox>
      
       <a4j:commandButton value="ee" action="next"></a4j:commandButton>
       <h:commandButton value="ee" action="next"></h:commandButton>
      
       </h:form>
      


      The Ajax request is not sent to the server to have the list.
      Thanks for your help