cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen Reijn <j.re...@hippo.nl>
Subject Re: Pass the content of a pipeline to a flow
Date Mon, 21 May 2007 12:45:29 GMT
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 
> 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 with a 
> java.io.OutputStream...
> 
> 
> Johannes Textor wrote:
>> try cocoon.processPipelineTo()
>>
>> as documented (http://cocoon.apache.org/2.1/userdocs/flow/api.html)
>>
>> ypomonh wrote:
>>> Is it possible to pass the contents of a pipeline to a flow?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message