Return-Path: Delivered-To: apmail-jakarta-taglibs-dev-archive@apache.org Received: (qmail 38535 invoked from network); 11 Sep 2002 18:34:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Sep 2002 18:34:38 -0000 Received: (qmail 22111 invoked by uid 97); 11 Sep 2002 18:35:14 -0000 Delivered-To: qmlist-jakarta-archive-taglibs-dev@jakarta.apache.org Received: (qmail 22086 invoked by uid 97); 11 Sep 2002 18:35:12 -0000 Mailing-List: contact taglibs-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Developers List" Reply-To: "Tag Libraries Developers List" Delivered-To: mailing list taglibs-dev@jakarta.apache.org Received: (qmail 22065 invoked by uid 98); 11 Sep 2002 18:35:11 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-Id: <200209111834.g8BIYZi17131@ha1sca-mail1.SFBay.Sun.COM> Date: Wed, 11 Sep 2002 11:34:35 -0700 (PDT) From: Jan Luehe Reply-To: Jan Luehe Subject: Re: DO NOT REPLY [Bug 12433] New: - I18N locale tag returns wrong object type (should be Locale) To: geddesje@us.ibm.com Cc: taglibs-dev@jakarta.apache.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: dUaUldsCxmEmNgnscTQ7ZA== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Janet, > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12433 > > I18N locale tag returns wrong object type (should be Locale) > > Summary: I18N locale tag returns wrong object type (should be > Locale) > Product: Taglibs > Version: 1.0 > Platform: PC > OS/Version: Windows NT/2K > Status: NEW > Severity: Blocker > Priority: Other > Component: I18N Taglib > AssignedTo: taglibs-dev@jakarta.apache.org > ReportedBy: geddesje@us.ibm.com > > > The locale tag doc indicates that it returns a Locale object > (java.util.Locale, i presumed), but the LocaleEI class actually specifies > java.lang.String as the return type for the id. I am using the localeRef > attribute to pull the java.util.Locale object from the session, and need > for the tag to return the object, not the string... please notice that the I18N Taglib has been deprecated, in favor of the I18N-capable formatting tags which are available as part of the "Standard Taglib," an implementation of JSTL (JSP Standard Tag Library) at Jakarta Taglibs. You can download the 1.0.1 release of the Standard Taglib at http://jakarta.apache.org/builds/jakarta-taglibs/releases/standard/ The Standard Taglib requires JSP 1.2. You may want to consider migrating to this taglib. Jan -- To unsubscribe, e-mail: For additional commands, e-mail: