jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Luehe <Jan.Lu...@Sun.COM>
Subject Re: DO NOT REPLY [Bug 12433] New: - I18N locale tag returns wrong object type (should be Locale)
Date Wed, 11 Sep 2002 18:34:35 GMT
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:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message