jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject RE: Standard Taglib 1.0.1
Date Sat, 27 Jul 2002 23:26:14 GMT
Yeah, this bug report came in too late to make it into the 1.0.1 release.  
I agree that it's important; it'll get fixed in the source tree soon and
will be included in the next bugfix release.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com

On Sat, 27 Jul 2002, Martin Cooper wrote:

> This release does not appear to fix Bugzilla #11204:
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11204
> 
> This is definitely a bug, and it's definitely major. It means that the
> <fmt:formatNumber> tag, used without a value 'attribute', will only work the
> first time on a page. That makes it effectively unusable.
> 
> The issue is that, if the 'value' attribute is not used, then the body
> content is assigned to 'value'. This is a serious no-no for tag handler
> reuse, because the next time the tag is used, it will use the string now in
> 'value', which still contains the body content from the previous tag
> instance.
> 
> The fix is to never assign to 'value' in doEndTag(), but to instead use a
> temporary variable to hold the content to be formatted.
> 
> --
> Martin Cooper
> 
> 
> > -----Original Message-----
> > From: Shawn Bayern [mailto:bayern@essentially.net]
> > Sent: Saturday, July 27, 2002 4:04 PM
> > To: taglibs-user@jakarta.apache.org
> > Cc: taglibs-dev@jakarta.apache.org
> > Subject: Standard Taglib 1.0.1
> > 
> > 
> > Taglibs users,
> > 
> > We've released a minor bugfix version of the Standard Taglib.  Version
> > 1.0.1 is now available at
> > 
> >   http://jakarta.apache.org/builds/jakarta-taglibs/releases/standard/
> > 
> > I've left up version 1.0 since the changes are minor.  I've also added
> > source distributions for versions 1.0 and 1.0.1; all future 
> > releases will
> > include matching source distributions.
> > 
> > Please let me know if you've got any questions,
> > 
> > -- 
> > Shawn Bayern
> > JSTL RI lead
> > "JSTL in Action"   http://www.jstlbook.com
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:taglibs-dev-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>
> 


--
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