function loadScript(pipelineURI, bizData) { var os = new java.io.ByteArrayOutputStream(); cocoon.processPipelineTo(pipelineURI, bizData, os); var bytes = os.toByteArray(); var str = new java.lang.String(bytes); eval(str); }

[EMAIL PROTECTED] wrote:


Chris,


Could you be more explicit? AFAIK processPipelineTo invokes a pipeline and sends results to an output stream? Are you saying I can write a (js) file to disk and then load (execute) it with eval()? Are you referring to javascript eval(some-string) function?

Thanks,
--Michael

Christopher Oliver <[EMAIL PROTECTED]> wrote on 09/03/2003 09:59:49 PM:

>
> BTW you could use cocoon.processPipelineTo() to create your script and
> then use eval() to load it.
>





Reply via email to