Return-Path: Delivered-To: apmail-turbine-dev-archive@www.apache.org Received: (qmail 36208 invoked from network); 29 Sep 2008 13:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Sep 2008 13:44:25 -0000 Received: (qmail 6068 invoked by uid 500); 29 Sep 2008 13:44:24 -0000 Delivered-To: apmail-turbine-dev-archive@turbine.apache.org Received: (qmail 6056 invoked by uid 500); 29 Sep 2008 13:44:23 -0000 Mailing-List: contact dev-help@turbine.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Turbine Developers List" Delivered-To: mailing list dev@turbine.apache.org Received: (qmail 6045 invoked by uid 99); 29 Sep 2008 13:44:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2008 06:44:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [207.58.137.236] (HELO server.valbosoft.com) (207.58.137.236) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2008 13:43:21 +0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=valbosoft.com; b=M1e72hq/TnlwZmZV5hYckZLXVllrLMxi8ZI0aaHU/CfRV51kTUl6erfkgJDGAmaSqRugZbbGMcZXX+J4MVdfMdqI+EeLdtQGsnwWa5IEl8X15xJDsDuHorQXS1o0K6Co ; Received: (qmail 6059 invoked from network); 29 Sep 2008 15:43:53 +0200 Received: from static-239-114-226-77.ipcom.comunitel.net (HELO mortadelo.oficina.valbosoft.com) (77.226.114.239) by brotesdesoja.es with SMTP; 29 Sep 2008 15:43:52 +0200 In-Reply-To: <48DFC9D2.8060002@apache.org> Subject: Re: TurbineLocalizationService To: "Turbine Developers List" X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006 [via SMTPAuth 2.01, bisswanger.com] Message-ID: From: b.v.weert@valbosoft.com Date: Mon, 29 Sep 2008 15:56:24 +0200 X-MIMETrack: Serialize by Router on reserva/srvNotes(Release 6.5.1|January 21, 2004) at 29/09/2008 15:56:27 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hello, I save the current used language in the session, so I need the HttpServletRequest, the getLocale(String) is not enough. I'm using the localization tool. Overriding that seems more complicated, as it makes quit high level calls to the other classes. Why was getLocale () made final in the first place? Is there a reason to keep it that way? Regards, Bo Thomas Vandahl Para 28/09/2008 20:15 Turbine Developers List cc Por favor, responda a Asunto "Turbine Re: TurbineLocalizationService Developers List" b.v.weert@valbosoft.com wrote: > In Turbine 2.3.3 that method is still final; could you explain a bit more > what you mean? But getLocale(String) isn't, which is what getLocale(HttpServletRequest) calls. So just override that. However, when I come to think of it, the LocalizationService itself only uses this method if no locale is supplied in the method call getString(). Do you use the LocalizationTool? Maybe it's better to derive that? Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org For additional commands, e-mail: dev-help@turbine.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org For additional commands, e-mail: dev-help@turbine.apache.org