e 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
ere 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.
>
> -
Hi Martin,
Thank you for your fast replay!
What do you mean by saying: " ...parse it and set it in the session. "
How to do it?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-locale-in-cookie-tp4649827p4649829.html
Sent from the Users forum mailing li
r "en_US_variation".
Create a Locale object with:
new Locale("en")
new Locale("en", "US")
new Locale("en", "US", "variation")
and then do: Session.get().setLocale(locale)
>
> --
> View this message in context:
&g
cookie.setMaxAge(LANGUAGE_COOKIE_AGE);
((WebResponse)response).addCookie(cookie);
break;
}
}
return session;
}
10x!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-locale-in-cookie-tp4649827p4649831.html
Sent
axAge(LANGUAGE_COOKIE_AGE);
>
>((WebResponse)response).addCookie(cookie);
>break;
>}
>}
>
>return session;
>}
>
> 10x!
>
> --
> View this message in context:
> http://apache-wicket.184294
YAP!!! WORKING
MARTIN - Thanks again!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-locale-in-cookie-tp4649827p4649833.html
Sent from the Users forum mailing list archive at Nabble.com
YAP!!! WORKING
MARTIN - Thanks again!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-locale-in-cookie-tp4649827p4649834.html
Sent from the Users forum mailing list archive at Nabble.com
COOKIE_AGE);
>
> ((WebResponse)response).addCookie(cookie);
> break;
> }
> }
>
> return session;
> }
>
> 10x!
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabbl