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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to