struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: I18ninterceptor support for cookies
Date Thu, 13 Jun 2013 13:27:35 GMT
2013/6/13 Christian Grobmeier <grobmeier@gmail.com>:
> On Thu, Jun 13, 2013 at 2:48 PM, Lukasz Lenart <lukaszlenart@apache.org> wrote:
>> 2013/6/13 Christian Grobmeier <grobmeier@gmail.com>:
>>> Any ideas how to solve it?
>>>
>>> Otherwise i would create an issue for Struts 3, when the xwork package
>>> most likely will disappear or when breaking changes are allowed.
>>
>> The current idea is to keep XWork a standalone project - someone can
>> use it in non-servlet environment. I also opt to merge XWork into
>> Struts2 core, but maybe I'm missing something.
>
> OK. Not sure if anybody out there uses XWork in that way...
> it explains at least the lack of cookie support in the i18n interceptor.
>
>> Regarding your problem you've already answered your question - extend
>> and use as default I18N interceptor in struts-default.xml
>
> Maybe it makes sense to create such an i18n Interceptor for
> struts-core, which extends
> the xwork-core one. I believe in a web env it is normal use cookies to00 store
> language settings, if the user doesn't have a session.
>
> WDYT?

Good idea :-)


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message