This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: Hibernate Validator (complex type)schlegel Apr 18, 2008 4:43 PM (in response to graben)Why you don't call InvalidValue[] badValues = classValidator.getInvalidValues(o); in your Action-Methods and if errors are available you generate FacesMessages and return null from the action-method? It is not possible to check multiple values in the validate phase. 
- 
        2. Re: Hibernate Validator (complex type)schlegel Apr 18, 2008 4:46 PM (in response to graben)I mean... ClassValidator classValidator = Validators.instance().getValidator(o.getClass()); if (classValidator.hasValidationRules()) { InvalidValue[] badValues = classValidator.getInvalidValues(o); ....
 
    