It's hard to find really good info on taglibs, but I have a working tag that
I'd like to change to use a dynamic value for an attribute.  The tags do not
have a body.

Before, I used:

<yo:stmp add="10" />

I'd like to do something like:

<yo:stmp add="<%=numToAdd%>" />

What's happening is the the literal string "<%=numToAdd%>" is being sent to
the tag -- the JSP code is not being evaluated first.  For bodies, there is
a <bodycontent> setting in the TLD, but I don't see anything like that for
attribute values.  Can this be done?  I tried setting
<rtexprvalue>true</rtexprvalue> in the TLD, but this didn't appear to do
anything differnt.

Can I do this?

Thanks,
David

Reply via email to