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
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
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
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
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