tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject Re: dynamic attributes
Date Thu, 23 Nov 2000 18:06:52 GMT
Stefan HÃ¥kans wrote:
> 
> I have a follow-up question on this topic.
> Is there any way of putting a custom tag as attribute to another tag ?
> E.g.
> <mytaglib:atag anattrib="<mytaglib:anothertag />" />
> 
> Now the only ways I can make these two tag communicate is by defining
> scripting
> variables, or putting one tag in the body of the other.
> I would like to avoid both of them.

A variation of the "defining scripting variables" alternative is to
just let the first action place the object of interest in the page
scope, without defining a scripting variable. With this approach you
don't need to write a TEI class for the action.

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com

Mime
View raw message