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).Hmm, I don't like adding tree processing information to the environment :)
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.
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 }