dev@woodstock.java.net

Re: localization question

From: Senthil Chidambaram <Chock.Chidambaram_at_Sun.COM>
Date: Fri, 06 Apr 2007 10:29:40 -0700

Rick,
Thank You for your reply, and Thanks to Cathy for confirming it. I tried your latest woodstock by checking out from your open source project, but our admingui app didn't come up. The CVS also down for the last couple of days, and I didn't try to debug it further. Anyway I'll try the latest woodstock, and let you know about it.

thx
Senthil

----- Original Message -----
From: richard ratta <Richard.Ratta_at_Sun.COM>
Date: Friday, April 6, 2007 6:22 am
Subject: Re: localization question
To: dev_at_woodstock.dev.java.net
Cc: as-gui-jbi-integration_at_sun.com, Georges MURR <Georges.Murr_at_Sun.COM>

> Thanks cathy.
>
> -rick
>
> Cathy Mucci wrote:
>
> >I tested the latest 4.1 code base and we no longer need to specify
> the>SUPPORTED_LOCALES in the web.xml in order to properly render in
> the>specified locale. I tested this using 4.1 Project Woodstock
> Components>and the 4.0.2 Project Woodstock L10N jar.
> >
> >Cathy
> >
> >
> >richard ratta wrote On 04/05/07 15:53,:
> >
> >
> >>Could you try using the latest code base and see if you still
> need to
> >>specify
> >>SUPPORTED_LOCALES in the web.xml ?
> >>
> >>I attempted to remove this dependency in the latest changes to
> the theme
> >>infrastructure.
> >>
> >>The ThemeServlet cannot reference JSF artifacts, since it is
> trying to
> >>be neutral
> >>with respect to the components and frameworks.
> >>
> >>-rick
> >>
> >>Senthil Chidambaram wrote:
> >>
> >>
> >>
> >>
> >>>We've specified the supported locales in our faces-config.xml
> file,
> >>>and this seems to be working fine for our application related
> >>>messages, stylesheets etc. Looks like for ThemeServlet to handle
> >>>localization we've to specify the following initParam in our
> web.xml
> >>>file.
> >>>
> >>>com.sun.webui.theme.SUPPORTED_LOCALES
> >>>
> >>>I looked at your code briefly. In ServletThemeContext.java,
> >>>setSupportedLocales() says it's deprecated, but if I don't
> specify the
> >>>above initParam it's not working.
> >>>
> >>>To begin with I don't like the idea of specifying all the
> supported
> >>>locales either in faces-config, or in web.xml file. In this
> particular
> >>>case we've specified the supported locales in faces-config.xml
> >>>already, can't ThemeServlet read it from FacesServlet to figure
> out
> >>>the supported locales. Of course you can still give the option
> of
> >>>overriding it at application level.
> >>>
> >>>I can file an issue for this on woodstock if you prefer. We
> don't want
> >>>to specify supported locales in two different files.
> >>>
> >>>thx
> >>>Senthil
> >>>
> >>>-----------------------------------------------------------------
> ----
> >>>To unsubscribe, e-mail: dev-unsubscribe_at_woodstock.dev.java.net
> >>>For additional commands, e-mail: dev-help_at_woodstock.dev.java.net
> >>>
> >>>
> >>>
> >>------------------------------------------------------------------
> ---
> >>To unsubscribe, e-mail: dev-unsubscribe_at_woodstock.dev.java.net
> >>For additional commands, e-mail: dev-help_at_woodstock.dev.java.net
> >>
> >>
> >>
> >
> >
> >
> >
>