Re: Using the output of a pipeline to call another pipeline?

2005-10-07 Thread Antonio Gallardo
Derek Hohls wrote: Yes... but I am saying that the block itself does not contain enough to really get going with real-world situations. The only code examples I could find for Groovy were in the Wiki, and they dealt with SQL and forms - not with how to go about creating an action. This are

Re: Using the output of a pipeline to call another pipeline?

2005-10-06 Thread Derek Hohls
Yes... but I am saying that the block itself does not contain enough to really get going with real-world situations. The only code examples I could find for Groovy were in the Wiki, and they dealt with SQL and forms - not with how to go about creating an action. [EMAIL PROTECTED] 2005/10/02

Re: Using the output of a pipeline to call another pipeline?

2005-10-01 Thread Antonio Gallardo
Derek Hohls wrote: (Just on the side here - sorry to disrupt the thread - I would echo the support for more detailed info - tutorial + sets of examples would be *really* good - for creating Actions using Javascript - this would open up an area of Cocoon for us non-Java gurus - Thanks...)

Re: Using the output of a pipeline to call another pipeline?

2005-10-01 Thread Antonio Gallardo
Derek Hohls wrote: (Just on the side here - sorry to disrupt the thread - I would echo the support for more detailed info - tutorial + sets of examples would be *really* good - for creating Actions using Javascript - this would open up an area of Cocoon for us non-Java gurus - Thanks...)

Re: Using the output of a pipeline to call another pipeline?

2005-09-30 Thread Jonas Lundberg
, so you get my penny instead ;) Good to see another person using eXist... Chris Marasti-Georg -Original Message- From: Jonas Lundberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 11:54 AM To: users@cocoon.apache.org Subject: Re: Using the output of a pipeline

Re: Using the output of a pipeline to call another pipeline?

2005-09-30 Thread Derek Hohls
- From: Jonas Lundberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 11:54 AM To: users@cocoon.apache.org Subject: Re: Using the output of a pipeline to call another pipeline? Thanks for the replies, I'll explain in more detail then. The images are referenced

Re: Using the output of a pipeline to call another pipeline?

2005-09-30 Thread Christoph Hermann
Derek Hohls schrieb: Hello, Thank's for the replies, Both using an action, and using a flowscript seem promising, but also problematic. For the flowscript solution to work, I need to read the xQuery result from a cocoon pipeline. Unfortunately, cocoon.processPipelineTo() does not work as

RE: Using the output of a pipeline to call another pipeline?

2005-09-30 Thread Chris Marasti-Georg
, September 30, 2005 3:09 AM To: users@cocoon.apache.org Subject: Re: Using the output of a pipeline to call another pipeline? Thank's for the replies, Both using an action, and using a flowscript seem promising, but also problematic. For the flowscript solution to work, I need to read

Re: Using the output of a pipeline to call another pipeline?

2005-09-30 Thread Jonas Lundberg
Thanks! The flowscript now works perfectly! (I still have to check the Action.) The final flowscript code was as follows (Just in case anyone else wants to read this later...) function getResource() { var input = Packages.java.lang.String(cocoon.parameters[input]); var output = new

Re: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Upayavira
Jonas Lundberg wrote: I've got a very basic question that I got stuck with maybe someone can help me out? I have a web publishing system that stores all images in eXist, using a number as the file name, e.g. 44500.jpg Each image has a metadata file, describing at what URL the image should

Re: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Derek Hohls
Its not clear what you mean by the "second pipeline" - do you mean the **.jpg ? If so, can you not simply call that from the page where it needs to appear? (And the page itself is generated using the output from the first pipeline; cinclude or simply a map:aggregate will feedthe XMLinto your

Re: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Jonas Lundberg
Thanks for the replies, I'll explain in more detail then. The images are referenced in an HTML page, which means that the browser will request them separately after the page is sent. Do you propose that I somehow embed the image data in the page? All paths in the system are virtual. I use XML

Re: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Jason Johnston
snip / So, what I want to do is very basic: First, I want to generate the internal file name using xQuery, given the virtual path and the virtual file name. At the same time I check whether the image is live ,and whether the particular user should be allowed to view it. Then, I want to

RE: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Chris Marasti-Georg
Marasti-Georg -Original Message- From: Jonas Lundberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 11:54 AM To: users@cocoon.apache.org Subject: Re: Using the output of a pipeline to call another pipeline? Thanks for the replies, I'll explain in more detail