Hi all,
I have a tag called o:tag which has its body type set to JSP in the taglib descriptor.
When the tag has no body, or a body containing other tags, it works great. However,
but when I use it like this:
<o:tag attributes=":renderFunction=sb_renderIdLink:url=${url}" name="th">Last
Name</o:tag>
Last Name does not get included in the output.
Strangely, this:
<o:tag attributes=":renderFunction=sb_renderIdLink:url=${url}" name="th"><field>Last
Name</field></o:tag>
works just fine. I always return EVAL_BODY_INCLUDE in the doStartTag.
Are taglibs supposed to work this way (i.e. ignore text-only bodies when the body type
is set to JSP), is this a known problem with weblogic 7, or is this something unusual?
Thanks,
JWS
[And yes, the tag is just a hack to tide me over until I have a JSP 2.0 compliant
server]
==========================================================================To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com