This is what I do:

    String defaultName = StripesFilter.getConfiguration()
        .getLocalizationBundleFactory().getFormFieldBundle(
            getContext().getLocale()).getString("defaultName");

getContext().getLocale() returns the locale based on the browser settings.

On Sun, Jun 7, 2009 at 1:17 PM, Joao Azevedo<[email protected]> wrote:
> Hi,
>
> Is it possible to programatically extract the contents of a
> LocalizableMessage object, given a message key and a locale?
>
> Thanks in advance,
> Joao
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to