3 Replies Latest reply on Aug 8, 2009 7:14 AM by navintamil

    Validation provided by Seam

    sebastiendeg.sebastien.degardin.gmail.com

      Hi everyone,


      I'm using Seam with GWt and WebServices.


      I'd like to provide the same validation capabilities as with JSF.


      My validation is defined on my entities and I'm validation my 
      beans with such a code :


      
      ClassValidator validator = new ClassValidator(params[i].getClass());
      
                  
      
      InvalidValue[] invalidValues = validator.getInvalidValues(params[i]);
      
      



      My question is : Is there any others ways to call validation
      provided by Seam ? (I'm not talking about the EntityManager of course).



      Tks.