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?

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



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

Reply via email to