well, you have to set
<rtexprvalue>true</rtexprvalue>
for attribute name in your tld, i think.
<attribute>
<name>name</name>
<rtexprvalue>true</rtexprvalue>
<type>String</type>
</attribute>
nick
On Thu, 10 Jul 2003, Kelly Harward wrote:
> I have a question over which I have been beating my head against a wall -
> perhaps you can help...
>
> I've written a custom tag library that seems to work wonderfully - except
> for one significant caviat. The parameters of my tags cannot accept String
> values obtained by evaluating a JSP scripting variable. For example, when I
> try the following:
>
> <mylib:hello name="<%= yourName %>" />
>
> The entire String literal ("<%= yourName %>") is passed through to the tag
> as the value of that parameter. It appears that the JSP engine is not
> evaluating the value of this expression prior to setting that parameter of
> the given tag. I know the JSTL and Jakarta libraries do not behave this way.
>
> Any ideas regarding what I am missing?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]