users@javaserverfaces.java.net

Re: JSF RI 1.2 Default required field message

From: monkeyden <monkeyden_at_gmail.com>
Date: Wed, 12 Dec 2007 10:58:30 -0800 (PST)

Hi Ryan,
Thanks for the reply. I figured it out, after having read the specified
section of the spec. A previous developer used <resource-bundle> instead of
<message-bundle>, so JSF wasn't finding the replacement key.



Ryan Lubke wrote:
>
> monkeyden wrote:
>> I'm trying to override the default message for required fields using the
>> JSF
>> RI 1.2. The key javax.faces.component.UIInput.REQUIRED doesn't seen to
>> work. Despite having changed this, I still get "Validation Error: Value
>> is
>> required". Is this correct key for this version?
>>
>> Thanks
>>
> That's the correct key.
>
> I'd recommend reviewing section 2.5.2.4 of the 1.2 spec to ensure you've
> followed the
> procedure correctly.
>
> If it's still not working, provide a web app demonstrating the failure.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/JSF-RI-1.2-Default-required-field-message-tp14261488p14301443.html
Sent from the javaserverfaces users mailing list archive at Nabble.com.