You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/03/15 15:40:11 UTC
DO NOT REPLY [Bug 27665] New: -
Nested tags with scripting variables generates invalid code
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=27665>.
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=27665
Nested tags with scripting variables generates invalid code
Summary: Nested tags with scripting variables generates invalid
code
Product: Tomcat 5
Version: 5.0.19
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: clemens.wagner@denkwerk.com
Using nested custom tags that create scripting variables leads Jasper to create invalid code. Example:
<my:bean name="outer">
<%-- outer is null iff pageContext.findAttribute("outer") is null --%>
<my:bean name="inner"/>
<%-- inner is always null even if pageContext.findAttribute("inner") is not --%>
</my:bean>
<%-- outer is null iff pageContext.findAttribute("outer") is null --%>
where the bean-tag sets a value in the pageContext with the given name and any value.
This bug is known since tomcat version 4.1 (see bug 19361).
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org