commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: [Jelly] Modularization: To Return A Non XMLOutput/String Object
Date Tue, 10 Jun 2003 06:51:47 GMT
Bill Keese wrote:
> Hello Paul,
> 
> 
>>Then maybe using TagSupport.findAncestorWithClass() would help ?
> 
> 
> I don't think this would work because (I forget the correct terminology
> but...) findAncestorWithClass() finds compile-time ancestors rather than
> runtime ancestors.  So in the following example, when bar calls foo, bar is
> not considered an ancestor of foo:
> 
> <define:taglib uri="myLib">
> 
> <define:tag name="foo">
>     ... I want to set a return value in bar ...
> </define:tag>
> 
> <define:tag name="bar">
>     <foo arg1="123"/>
> </define:tag>
> 
> </define:taglib>
> 
> Instead, the ancestor of "foo" is define:taglib, or something like that.
> Too bad!  Do you agree?
> 
> Bill

That was my fear.
Have you actually tested it ?
The problem would be the same, I guess, with an included script...

If this is the case, then we should request an extra method doing this 
job precisely. At least I presume it would be helpful...

Paul


Mime
View raw message