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 2003/01/15 01:30:39 UTC
DO NOT REPLY [Bug 16088] New: -
Translation error not generated if body of jsp:attribute, providing an attribute value of type JspFragment, contains a scripting element
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=16088>.
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=16088
Translation error not generated if body of jsp:attribute, providing an attribute value of type JspFragment, contains a scripting element
Summary: Translation error not generated if body of
jsp:attribute, providing an attribute value of type
JspFragment, contains a scripting element
Product: Tomcat 5
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Jasper2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: Ryan.Lubke@Sun.COM
>From JSP.5.10
"For custom action attributes of type javax.servlet.jsp.tagext.JspFragment,
the container must create a JspFragment out of the body of the
<jsp:attribute> action and pass it to the tag handler. This applies for
both Classic Tag Handlers and Simple Tag Handlers. A translation error must
result if the body of the <jsp:attribute> action is not scriptless in this
case"
Given
------------------------------------------------------------
<%@ page contentType="text/plain" %>
<%@ taglib uri="http://blurb.org" prefix="attr" %>
<attr:classic>
<jsp:attribute name="fragment">
<%= "fragment body" %>
</jsp:attribute>
</attr:classic>
-------------------------------------------------------------
In the TLD, the classic tag has one attribute named 'fragment' with the
<fragment> element body set to true.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>