cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Askild Aaberg Olsen" <>
Subject Re: fetch a string from another piple line by "cocoon://" in javascript?
Date Sun, 09 May 2004 21:16:17 GMT
Christina wrote:
>I have a pipeline which return a string
>Then i wander how to get that string in javascipt?
>I think it should be somemethod("cocoon://uri"), But would anybody tell me
which method I should use?

I had a similar question some days ago, which Bruno Dumon answered with:

will help you to execute a pipeline and capture the result in a DOM tree."

Which lead to the following successfull snippet:

   var pipelineUtil =
   var document = pipelineUtil.processToDOM("some.cocoon.pipeline", null);

Now you can iterate over this document with regular DOM-access, like JD
Daniels did in:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message