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/01 13:16:00 UTC
DO NOT REPLY [Bug 27330] New: -
[TagPlugins] Invalid generated JAVA code when nesting tags
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=27330>.
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=27330
[TagPlugins] Invalid generated JAVA code when nesting tags
Summary: [TagPlugins] Invalid generated JAVA code when nesting
tags
Product: Tomcat 5
Version: 5.0.19
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: yannc76@yahoo.de
Jasper in 5.0.19 generates invalid JAVA code when using the
provided 'tagPlugins.xml' to replace JSTL1.1 tags w/ custom JAVA code.
Same application/JSP pages compile and work fine w/ 5.0.16 and previous
versions.
As far as I understand the problem, the code replacement for the <c:forEach>
tag references "pageContext" inside its while()-loop, whereas it should use the
provided argument "_jspx_page_context" (the <c:forEach> tag is nested in other
tags).
Note: exactly the same problem could as well appear with the other tag
replacements since they're all referencing "pageContext" in their JAVA-code.
I suppose the name of the PageContext parameter must have changed recently and
has not been updated in the TagPlugins yet?!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org