This content has been marked as final.
Show 4 replies
-
1. Re: Display error message with facet for error from validato
ilya_shaikovsky Dec 1, 2009 8:44 AM (in response to jadtn)do you verified in debug that codePostalValidator really adds FacesMessage?
-
2. Re: Display error message with facet for error from validato
jadtn Dec 1, 2009 2:26 PM (in response to jadtn)Yes, all errors messages are well displayed, this only the f:facet name="errorMarker" which is not displayed when the error is not of type "required".
-
3. Re: Display error message with facet for error from validato
ilya_shaikovsky Dec 2, 2009 7:15 AM (in response to jadtn)So you seems just adding the Message with not ERROR severity.
-
4. Re: Display error message with facet for error from validato
jadtn Dec 2, 2009 1:20 PM (in response to jadtn)Thanks!
It solve my problem:throw new ValidatorException(new FacesMessage(FacesMessage.SEVERITY_ERROR,"error sum","error detail"));