in 1.3 you still can use getSession() and set the locale
But then you need to set it everytime because the session is created
everytime
if the pages are all stateless. So then you still can work with the normal
Wicket session object
Creating a wicket session object doesn't mean you create a http session
object. That only happens
if there are pages that need to go into the session.
johan
On 5/4/07, Scott Swank <[EMAIL PROTECTED]> wrote:
Can I ask why you don't want to store the locale in the session? It
seems that the locale is unarguably session-specific.
Cheers,
Scott
On 5/3/07, ywtsang <[EMAIL PROTECTED]> wrote:
>
> Dear all,
>
> I have read the wicket examples, wiki, mail lists, etc and it seems that
if
> I need to expliclity change the locale, i need to write codes like:
>
> getSession().setLocale(my locale);
>
>
>
> Now, I can determine the explicity language/locale need to use from the
> incoming URL.
>
> I want to use wicket built in i18n support. My problem is, I cannot/will
not
> use "session" for nearl all the pages.
>
> So, any means to set the locale without using session? Any
help/guideline
> will be welcomed. Thanks.
>
>
> Regards,
> Wing
> --
> View this message in context:
http://www.nabble.com/alternatives-to-set-locale-without-using-%22session%22--tf3690056.html#a10316471
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
Scott Swank
reformed mathematician
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user