tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12283] New: - If a tag implementing SimpleTag is invoked within a tag file a NPE is thrown
Date Wed, 04 Sep 2002 01:44:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12283>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12283

If a tag implementing SimpleTag is invoked within a tag file a NPE is thrown

           Summary: If a tag implementing SimpleTag is invoked within a tag
                    file a NPE is thrown
           Product: Tomcat 5
           Version: Unknown
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: prasad.subramanian@sun.com


A tag file invokes a tag that implements SimpleTag.
This causes a NPE to be thrown at translation.
====================
This is the JSP file
<!-- This JSP calls a tag defined by a tag file that calls a Simple Tag that
returns a SkipPageException -->

<%@taglib uri="/TagFile" prefix="tf" %>

This is the template text before the tag

<tf:NestSTEx start="0" end="10" />

This is the template text after the tag
=======================================
This is the tag file for NestSTEx
========================================

<!-- The tag file defines a tag that calls a Simple Tag that returns a SKIP_PAGE -->
<%@tag dynamic-attributes="false" isELEnabled="true" isScriptingEnabled="true" %>
<%@taglib uri="/SimpleTaglib" prefix="st" %>
<%@attribute name="start" type="integer" rtexprvalue="false" %>
<%@attribute name="end" type="integer" rtexprvalue="false" %>

This is the template text in the body of the tag file

<st:simpleEx start="10" end="0" >
	Template text here 
</st:simpleEx>


This is the text after the inclusion of the tag 
<jsp:doBody/>

===================================================

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message