DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=16830>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=16830 Jasper do not reset BodyContent for tags with BodySupport and empty content [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2004-03-24 21:49 ------- I have fixed Jasper (both Tomcat 4 and 5) to not reuse tags in this case. It should be in the next release. So for <tag:myBody content="true"> this is inside myBody tag </tagmyBody> <tag:myBody content="true" /> <tag:myBody content="false"> this is inside myBody tag </tag:myBody> the second tag would now has a null bodyContent, since it is not reusing the tag instance from the first, but the 3rd tag would reuse the tag instance from the first, and the bodyContent would not be reset, because doStartTag returns a SKIP_BODY. I consider it an user error to try getting its bodyContent when doStartTag returns a SKIP_BODY. This is the best I can do to fix this problem and still be spec-conformant. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]