Hello,

I haven't checked the specs to see if there's something there about
this, but the locale is not ignore. I don't know if there's a better way
of doing this or not but what I do is (and this works for any component
that adds faces messages, as far as I know):

1 - find the message id that corresponds to that message. It's a pain to
do because I haven't found all them in any javadoc, so I usually open
the class that renders my component, search for the decode method and
find the message id.

2 - Add the message id to my resource bundle, which is declared in the
faces config. (I think that some components require a detailed message
also, but I am not sure of which ones).

And that's it.

On Sun, 2006-11-12 at 16:01 +0100, Holger Prause wrote:
> Hello, myfaces recognizes my locale correct (input calendar has 
> localized month and year fields)
> but when the date entered in the inputfield is invalid , i get an 
> english(default?) converter/validation message:
> 
> "The given value "dfds" could not be converted to a date."
> 
> Think this is a bug (locale is ignored) , is there anything i can do 
> about this?
> 
> 
> Thx,
> 
> Holger
> 
> 

Reply via email to