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


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to