Bug 18524

Summary: Default bundle changed from First to Last defined one
Product: Taglibs Reporter: Patrick Samson <p_samson>
Component: I18N TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

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.