Re: Pass the content of a pipeline to a flow

2007-05-21 Thread ypomonh
Hi Johannes! As far as I understand since processPipelineTo() can only output to a java.io.OutputStream, I can only use it to serialize something on the disk. Is it possible to handle this stream inside my flowscript? I am not fluent in java but I think that there is nothing I can really do

Re: Pass the content of a pipeline to a flow

2007-05-21 Thread Jeroen Reijn
Hi ypomonh, I guess you can use the NullOutputStream for that: cocoon.processPipelineTo(factorial, {}, new org.apache.cocoon.util.NullOutputStream()); Kind regards, Jeroen Reijn ypomonh wrote: Hi Johannes! As far as I understand since processPipelineTo() can only output to a

Re: Pass the content of a pipeline to a flow

2007-05-21 Thread Joerg Heinicke
ypomonh ypomonh at freemail.gr writes: As far as I understand since processPipelineTo() can only output to a java.io.OutputStream, I can only use it to serialize something on the disk. Is it possible to handle this stream inside my flowscript? I am not fluent in java but I think that

Pass the content of a pipeline to a flow

2007-05-20 Thread ypomonh
Is it possible to pass the contents of a pipeline to a flow? I tried: map:pipeline map:match pattern=myflowurl map:call function=myflow map:parameter name=someval value={cocoon:/somepipeline/element/stuff}/ /map:call

Re: Pass the content of a pipeline to a flow

2007-05-20 Thread Johannes Textor
hi ypomonh, try cocoon.processPipelineTo() as documented (http://cocoon.apache.org/2.1/userdocs/flow/api.html) regards, johannes ypomonh wrote: Is it possible to pass the contents of a pipeline to a flow? I tried: map:pipeline map:match pattern=myflowurl