Hi,

But what exactly not work?

I'm using a Link with onClick() code:
getSession().setLocale(locale);
to swicth current locale and everything works ok. All page components
are localized correctly.

I think this  setResponsePage(this.getPage()); call in your code is
not necessary:
                @Override
                public final void onClick() {
                        Locale locale = new Locale("en");
                        this.getSession().setLocale(locale);
                        setResponsePage(this.getPage());
                }

-- 
Daniel

On Tue, Aug 26, 2008 at 9:56 PM, btakacs <[EMAIL PROTECTED]> wrote:
>
> Hi, All
>
> The question is:
> after
> getSession().setLocale(locale);
> running and successfully changing the locale (I checked in debug mode)
>
> when running
> setResponsePage(this.getPage());
> why the locale changes does not apply to the components?
>
> They apply only after I click on a bookmarkable link.
>
> Now it does not seem to be a Localization issue: it's some kind of reload
> issue...
>
> Any tips?
>
> Thanks:
>   Bence

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to