What I have found works best for me is to use flowscript, and call the pipeline using the processPipelineTo() function instead of the sendPage or sendPageAndWait. processPipelineTo does not send it's output to the screen, but sends the output stream back to flowscript. This allows you to follow the processPipelineTo function with a sendPage or sendPageAndWait that is completely unrelated to the source-writing pipeline.
-----Original Message----- From: christian bindeballe [mailto:[EMAIL PROTECTED] Sent: Saturday, June 10, 2006 12:03 PM To: [email protected] Subject: Re: source-writing - then redirect? hey abbas, everyone thanks, this approach looks very neat. although it still poses the question to me, how I would proceed if I wanted only to change or add a few elements in my document. I think the source-write-transformer is pretty good for this, the only thing being, that the output is not good for use-cases like mine. I'll try both ways and then I'll decide which one is more suitable. thanks a lot for the hints, it helped me a lot :) greetings, christian Abbas Mousavi schrieb: > Hi christian > > The Igor's proposal will work but it is not the best and standard way > of doing the thing. > you should use flowscript for this task , with a flowscript you can > write the output of one or more pipelines to any source and then > redirect the flow to any page that you want. It is simple and clean. > you can find an example in cocoon samples: > cocoon-webapp-dir\samples\blocks\webdav\flowsample, take a look at it. > > regards > Abbas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
