Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D658210EAB for ; Thu, 13 Jun 2013 13:28:02 +0000 (UTC) Received: (qmail 76475 invoked by uid 500); 13 Jun 2013 13:28:02 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 75650 invoked by uid 500); 13 Jun 2013 13:27:59 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 75634 invoked by uid 99); 13 Jun 2013 13:27:57 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 13:27:57 +0000 Received: from localhost (HELO mail-pa0-f52.google.com) (127.0.0.1) (smtp-auth username lukaszlenart, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 13:27:56 +0000 Received: by mail-pa0-f52.google.com with SMTP id kq13so5038163pab.11 for ; Thu, 13 Jun 2013 06:27:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=PhMvNqP4X2bxpPyA4vEzHg/91VB/D0eLMt3+vojJiv0=; b=dTCchlIP4UmPnK3FCAwTXUzWfHwRyKSwR/wlFBjt/CcrFdcAbWjKgjPSXOmveiRIQT +O+xFpaP2fA4wYrB6CG1Go50IT3Xp7DIkI1b2QHYzqOVfvrIKR2o+j7gBs864vUhHDGS SmWHlzNZjAtwUs5LW+NK4MFRDmTw/CZCbv1jRwh4ha2QLYoB/2m81ZOUl0+msTdYda6l faaNNL2x1RxYH2T4hegoEpga6SJpTpAcMMAtg2TsvF+/vmJ/8pgK/RRiI3ZAbRlaIo1n Hkcp1792vnxbG3BLOgQUOmo5aRnuxiLW7b0QSgUlj4CLqiF8zVwAu4x+PuUfs/BltmpU vnwQ== X-Received: by 10.66.141.80 with SMTP id rm16mr2843229pab.90.1371130076138; Thu, 13 Jun 2013 06:27:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.52.103 with HTTP; Thu, 13 Jun 2013 06:27:35 -0700 (PDT) In-Reply-To: References: From: Lukasz Lenart Date: Thu, 13 Jun 2013 15:27:35 +0200 Message-ID: Subject: Re: I18ninterceptor support for cookies To: Struts Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2013/6/13 Christian Grobmeier : > On Thu, Jun 13, 2013 at 2:48 PM, Lukasz Lenart = wrote: >> 2013/6/13 Christian Grobmeier : >>> 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 --=20 =C5=81ukasz + 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