Thanks, it works!
Janos Cserep-4 wrote:
>
>
>> Actually now I have only one label for testing purposes:
>> add(new Label("locale", getSession().getLocale().getLanguage()));
>>
>
> That's actually bad practice. You are adding the component in the
> constructor. That code runs only once - when you create the component,
> page, etc.
>
> Try:
>
> add(new Label("locale", new PropertyModel(this,
> "session.locale.language"));
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Localization-issue-tp19160932p19221098.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]