tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smith, David" <David.Sm...@ArtesiaTech.com>
Subject RE: Should BodyContent.getString() evaluate my scriptlet?
Date Thu, 29 Jun 2000 16:16:19 GMT
thanks so much! it seems to work fine now.

-----Original Message-----
From: rwaldhof@us.britannica.com [mailto:rwaldhof@us.britannica.com]
Sent: Thursday, June 29, 2000 11:03 AM
To: taglibs-user@jakarta.apache.org
Subject: RE: Should BodyContent.getString() evaluate my scriptlet?


In your TLD, make your tag is set for JSP bodycontent.  E.g.:

  <tag>
    <name>mytag</name>
    <tagclass>mypackage.MyTag</tagclass>
    <bodycontent>JSP</bodycontent> 
  </tag>       

-----Original Message-----
From: Smith, David [mailto:David.Smith@ArtesiaTech.com]
Sent: Thursday, June 29, 2000 9:01 AM
To: 'taglibs-user@jakarta.apache.org'
Subject: Should BodyContent.getString() evaluate my scriptlet?


When I do something like this:

<mytag><%= name %></mytag>

my handler's doAfterBody() performs a BodyContent.getString() and, instead
of getting "Joe" or "Mary" or whatever the variable's value is, it gets "<%=
name %>". How can I force it to evaluate this expression before I access it
in my handler's doAfterBody()?

Thanks very much.
d.

Mime
View raw message