> So I tried to pass it using page parameters. Also, I have updated dynamic
label model to LoadableDetachableModel.

This is an option for you. See
http://www.wicket-library.com/wicket-examples-6.0.x/mappers/en_US
There are three links (EN, DE and BG). The demo uses LocaleFirstMapper to
set the locale in the session depending on the current url.


On Mon, Nov 11, 2013 at 7:02 PM, meduolis <meduol...@gmail.com> wrote:

> Storing it in page will not work as it will reset each time I call
> setResponsePage.
> Storing it in data base will not work also, because locale will became
> global for all visitors.
> So I tried to pass it using page parameters. Also, I have updated dynamic
> label model to LoadableDetachableModel.
>
> This time I got different result, but still, not what I expected.
>
> "Back" action restores locale from page parameter one step behind the value
> stored in session,
> so I got different values each time I go back.
> Attaching updated version, if there is still someone who will to help me:
> versionLocale.zip
> <
> http://apache-wicket.1842946.n4.nabble.com/file/n4662326/versionLocale.zip
> >
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662326.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to