tbh i see little value of using wicket in a completely stateless
application. the big advantage of wicket is the programming model it offers,
which you give up when using stateless only components.

-igor


On 5/3/07, ywtsang <[EMAIL PROTECTED]> wrote:


One of the requirements of my project is not to use session, that's why my
question is so :)

Our website will have different language. Customers can choose for
different
languages by clicking links like:

e.g.
/en/... (show english content)
/jp/... (show japanese content)
/kr/... (show korean content)
/zh/.... (show chinese content)

Therefore I can deduce the "language" from the request link, it would be
nice if we can configure locale without the need of session creation.

Regards,
Wing


Scott Swank 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
>
>

--
View this message in context:
http://www.nabble.com/alternatives-to-set-locale-without-using-%22session%22--tf3690056.html#a10317292
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

-------------------------------------------------------------------------
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

Reply via email to