cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fawzib Rojas <f_ro...@spectron-msim.com>
Subject Re: Runnable in flowscript?
Date Fri, 19 Mar 2010 18:00:27 GMT
On 3/19/2010 1:56 PM, Robby Pelssers wrote:
> Function processPipelineTo([String] uri, [Object] bizData, [java.io.OutputStream] stream)
>
> The api says is should be an object...
>
> So maybe try
>
> cocoon.processPipelineTo(fmt+"_pipe/"+url, {} ,output_stream); //using object literal
>
>    

Thats not it, because when I set use_background_thread to false to do it 
directly without a thread (the else) it works.

> I don't know if you need a context but you sure aren't setting any...
>
>    

I'm not setting a context in the thread, I guess I need to use the 
context from the create_pdf function. How would I do that? Is there some 
documentation for that somewhere?

> Cheers,
> Robby
>
>    


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


Mime
View raw message