tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <>
Subject Re: Using expressions in tag attributes
Date Tue, 15 Aug 2000 16:41:09 GMT
Rachel Greenham wrote:

> Should I be expecting this sort of thing to work?
> <%
> String name="wibble";
> %>
> <myprefix:GetVariable name="<%=name%>"/>
> ie: using an expression in an attribute to a taglib tag. It doesn't
> work, and I think I can see why, but as it does on HTML it would be
> intuitive if it did.

This should work if you declare, in your tag library descriptor file, that
this attribute takes runtime expression values.  You would need something
like this:



View raw message