myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <mkien...@gmail.com>
Subject Re: t:validateEqual custom message
Date Tue, 20 Dec 2005 18:13:55 GMT
org.apache.myfaces.Equal.INVALID = Validation Error
org.apache.myfaces.Equal.INVALID_detail =The given value ({0}) is not
equal with value of "{1}".

You can also use the new sandbox compareToValidator instead and
specify messages per validator instance using the "message" attribute.

On 12/20/05, Airton Carrara <lista.myfaces@gmail.com> wrote:
> Hello.
>
> Does MyFaces offer a specific key on its custom messages list to
> t:validateEqual, as done e.g. to
> javax.faces.component.UIInput.REQUIRED,
> javax.faces.validator.NOT_IN_RANGE and so on?
>
> I mean something like "
> javax.faces.validator.VALIDATE_EQUAL" to add on a
> ResourceBundle properties file and set a custom error message...
>
> Thanks,
> Airton.
>

Mime
View raw message