myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <>
Subject Re: jsf Validator bypass empty string
Date Tue, 17 Jul 2007 14:30:26 GMT
Validators are not called if a value was not given. That is what the
required attribute is for. (Awful I know, but for some dumb reason,
required attribute was used instead of a required validator in JSF)

On 7/17/07, jimmy6 <> wrote:
> How to avoid jsf Validator bypass empty string? I am doing hibernate
> annotation validation. I found that if the textbox is empty it will not
> reach to javax.faces.validator phase.
> --
> View this message in context:
> Sent from the My Faces - Dev mailing list archive at

View raw message