webtier@glassfish.java.net

Re: [webtier] german localization does not work

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Mon, 15 Feb 2010 09:24:48 -0800

On 2/11/10 1:04 AM, webtier_at_javadesktop.org wrote:
> Hi,
>
> I am unable to get german error messages.
> Using Mojara 2.0.2 b10 on Glassfish v3, latest updates installed a second ago.
>
> I tried:
>
> <h:inputText id="in" value="#{myHandler.value}">
> <f:validateLongRange minimum="5" maximum="10" />
> </h:inputText>
>
> with
>
> <application>
> <locale-config>
> <default-locale>de</default-locale>
> <supported-locale>de</supported-locale>
> <supported-locale>en</supported-locale>
> </locale-config>
> </application>
>
> and even
>
> <f:view locale="de">
>
> but get
>
> j_idt6:in: Validation Error: Specified attribute is not between the expected values of 5 and 10.
>
> how to get german messages?
> What am I doing wrong?
>
I've done some quick tests and I see German messages displayed when I
force the locale as you have.
As to what the problem is, I don't see anything off with the configuration.

If you're able to see the same problem using a 2.0.3 nightly build,
please open an issue and attach a test
case and we'll investigate.
> regards
>
> Bernd
> [Message sent by forum member 'bernd_mueller' (bernd.mueller_at_fh-wolfenbuettel.de)]
>
> http://forums.java.net/jive/thread.jspa?messageID=386037
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>