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 2002/07/18 20:05:55 UTC
DO NOT REPLY [Bug 8817] -
nested custom jsp tags not working?
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=8817>.
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=8817
nested custom jsp tags not working?
jan.luehe@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From jan.luehe@sun.com 2002-07-18 18:05 -------
Since you specified the value of the <body-content> element of the
<template:insert> tag to be "tagdependent", the body of the
<tamplate:insert> action is passed *verbatim* to the corresponding tag
handler, so that it can be interpreted by the tag handler itself.
You normally use a "tagdependent" body-content if the body is
specified in a different "language" (e.g., if it consists of SQL
statements) that (only) the tag handler knows how to interpret.
To get your example to work, you must use a body-content of JSP, as follows:
<tag>
<name>insert</name>
<tag-class>com.bjv.tags.templates.InsertTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>template</name>
</attribute>
</tag>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>