You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by binya <bi...@yahoo.com> on 2007/07/11 16:24:13 UTC
backing bean validation
I've got 2 fields in my form. 1 has only "required=true", and 1 has
"required=true" and a "validator=..." from the backing baen
I both fields have error: everything is fine I see the required msg & the
b.b. validator msg
but if only the second filed has an error - the backing bean function is
called, but the application doesn't show the error message in continues to
the next page
why??????????
--
View this message in context: http://www.nabble.com/backing-bean-validation-tf4062250.html#a11541398
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: backing bean validation
Posted by David Delbecq <de...@oma.be>.
Check the validator really fails. I bet it adds a Message to JSF but
does not mark a validation error.
En l'instant précis du 11/07/07 16:24, binya s'exprimait en ces termes:
> I've got 2 fields in my form. 1 has only "required=true", and 1 has
> "required=true" and a "validator=..." from the backing baen
>
> I both fields have error: everything is fine I see the required msg & the
> b.b. validator msg
> but if only the second filed has an error - the backing bean function is
> called, but the application doesn't show the error message in continues to
> the next page
> why??????????
>