Bug 11438 - <i18n:message> tag doesn't reset args between uses
Summary: <i18n:message> tag doesn't reset args between uses
Status: CLOSED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: I18N Taglib (show other bugs)
Version: unspecified
Hardware: All All
: P3 major (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-02 23:57 UTC by Colin Evans
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Evans 2002-08-02 23:57:06 UTC
The <i18n:message> tag incorrectly resets the args ArrayList in release()
instead of startTag().  Message arguments passed to prior invocations of the
<i18n:message> tag in a page end up being used in subsequent uses of the tag in
the same page.  This makes argument substitution unusable.
Comment 1 Glenn Nielsen 2002-12-17 02:26:58 UTC
In general the message tag was not designed to work well in JSP containers
which use custom tag pooling.  Each time the message tag is now invoked
the args shoul be unique for that invocation.  Should be available in the
next nightly build.