At 06:04 PM 6/29/00 +0200, you wrote:
>How can I evaluate an expression into a parameter of a BodyTag handler? For
>example:
>
><% String paramValue="xyz"; %>
>
><mytags:myBodyTag responseType="expression">
> .....
></mytags:myBodyTag>
>
>where in place of 'expression' I tried to write 'paramValue.toString()' and
>'<%=paramValue.toString()%>', but the expression is never evaluated!
In the TLD for the mytags library, when defining the responseType attribute
you need an entry of the form
<rtexprvalue>true</rtexprvalue>
to indicate that the attribute accepts a "run-time expression" for its value.
- Mark A. Kolb
Managing Engineer, Applications and Systems Development
Unified Office
[EMAIL PROTECTED]
(512) 744-1014
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets