Bug 18524 - Default bundle changed from First to Last defined one
Summary: Default bundle changed from First to Last defined one
Status: RESOLVED WONTFIX
Alias: None
Product: Taglibs
Classification: Unclassified
Component: I18N Taglib (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-31 14:52 UTC by Patrick Samson
Modified: 2009-07-10 00:34 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Samson 2003-03-31 14:52:55 UTC
According to the documentation i18n-doc:
 "Display a plain message using the default
 (first defined) bundle.",
or in javadoc setBundleRef:
 "if neither bundle or bundleRef are specified, uses
  the first bundle defined on the page by the
  i18n:bundle tag",
if i18n:message has no Bundle[Ref], the first bundle
should be used. But in revision 1.7, doEndTag() doesn't
check anymore if ResourceHelper has already a bundle.
So the default is now the last defined bundle.
Not a big deal, but keys are no more found when multiple
bundles are used.
Comment 1 Felipe Leme 2004-06-04 04:50:23 UTC
Patrick,

As I said on bug 18525, we are not maintaing this taglib. But if you provide a
patch for the issue (as you did in other taglibs), I can apply it.

Regards,

Felipe
Comment 2 Henri Yandell 2009-07-10 00:34:41 UTC
JSTL replaced the i18n taglib, so this won't be worked on.