2 Replies Latest reply on Jul 22, 2009 9:10 PM by alexsmirnov

    rich:beanValidator VS s:validate

    israel.bgf

      Hello. Is there any difference with rich:beanValidator and s:validate? And what about rich:graphValidator and s:validateAll? Which of the two should i use?

      Thks

      Israel

        • 1. Re: rich:beanValidator VS s:validate
          ilya_shaikovsky

          the components is pretty similar and RF ones designed to be used in non-seam environment.

          graphValidator allows additional bean validation using value attribute. Check demo sample.

          • 2. Re: rich:beanValidator VS s:validate
            alexsmirnov

            The main differences between these components are :
            1) richfaces validation components could validate input fields by ajax.
            2) RichFaces beanValidator could use both Hibernate Validator and JSR-301 Bean Validator libraries ( that has some bugs in the 3.3.1.GA but snapshot version works stable ).
            3) RichFaces also supports object tree validation.