users@javaserverfaces.java.net

Re: Custom validation message for required fields

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Sun, 20 Jul 2008 10:50:37 -0700

Uwe Seimet wrote:
> Hi,
>
>
>> If you are using JSF 1.2, all the standard components have a
>> requiredMessage attribute for exactly this.
>>
>
> Yes, now it works. Thank you for this hint!
>
> Best regards Uwe
>
>
Additionally, review chapter 2.5.2.4 of the JSF 1.2 spec.
It describes the standard message keys and their default values.
If you put these keys in your applications resource bundle (at
least the ones you're interested in) you effectively override the default
values.