cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Actual implementation of passthrough
Date Tue, 31 Aug 2004 13:37:55 GMT
Carsten Ziegeler wrote:

>Sylvain Wallez wrote:
>
>  
>
>>The passthrough information cannot be set on the processing 
>>node, as it depends on the runtime environment (a single 
>>sitemap can be mounted from different locations with 
>>different values for passthrough).
>>
>>IMO, the easiest way is for the mount node to set an 
>>attribute in the Environment (which is private to the 
>>pipeline machinery) that gets checked by the Pipelines node 
>>of the mounted sitemap. That attribute should of course be 
>>reset to its previous value upon return in the mount node.
>>
>>    
>>
>Hmm, I don't like adding tree processing information to the environment :)
>  
>

Why so? The Environment provides attributes, so why not using them? Or 
is it just because that information is somehow "hidden" in a HashMap ?

>What about adding this info to the InvokeContext?
>  
>

Because InvokeContext is not passed to the child processor...

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message