myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
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 <whatcani2@yahoo.com> 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: http://www.nabble.com/jsf-Validator-bypass-empty-string-tf4095182.html#a11644261
> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>
>

Mime
View raw message