7 Replies Latest reply on Sep 14, 2007 5:20 AM by Pete Muir

    SFSB and Hibernate Validator -

    Gerson M Newbie

      Hi,

      I'm using jboss-seam-CVS.2007-09-03_13-05-07 (after fixing ) but the Hibernate Validator is not working.

      I tried this:


      @Name("someService")
      @Stateful()
      public class SomeService implements ISomeService{
       @Pattern(regex=RegEx.XYZ, message="some message")
       @In()
       private String searchIdString;
       public String getSearchIdString() { return searchIdString; }
       public void setSearchIdString(String searchIdString) {
       this.searchIdString = searchIdString;
       }
       ...
      }
      
      


      the page:

      ...
       <a4j:form ajaxSubmit="true" reRender="searchResult">
       <s:validateAll>
       <h:inputText id="id" value="#{searchIdString}">
       </h:inputText>
      
       ...
      
       </s:validateAll>
       </a4j:form>
      ...
      


      What's wrong?