Hi,

Use CookieUtils.save("myCookie", locale.toString()) to set the cookie.
Later use CookieUtils.load("myCookie") to load it and then you'll need
to parse it and set it in the session.

On Sun, Jun 10, 2012 at 7:07 PM, oliver.stef <[email protected]> wrote:
> Hi,
>
> I'm bulidng my application and i want the user to set is prefered language.
>
> My problem is that i want to save the user selecteion in a cookie (i need to
> set the cookie locale, no?) but i havn't found any working implementation
> that can show me how it's done.
>
> Is there any one that can help? please...
>
> Thanks!
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/set-locale-in-cookie-tp4649827.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to