The concepts behind Cocoon includes IoC pattern: "Inversion Of Control".
I believe it is explained in the "Developing with Avalon" book.

What we got here is (IMHO) an example of not understanding of this
pattern. Instead of having pipeline to transfer execution to another
pipeline *after* its finish (which already sounds wrong), you should
think about invoking first pipeline from the second on the step of the
execution of the second pipeline which requires output of the first
pipeline.

In two words: "child 2 pipeline" must access result of "child 1
pipeline", and not another way. See also
http://localhost:8080/cocoon/sub/xsl-dynamic sample to get an idea.

Vadim

-----Original Message-----
From: Niket Anand [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 18, 2002 12:39 AM
To: [EMAIL PROTECTED]
Subject: Re: How can i access one child sitemap from another child
sitemap.

Hello Vadim,
Can you suggest me something regarding following problem?
Thanks,
Niket
----- Original Message ----- 
From: Manish 
To: [EMAIL PROTECTED] 
Sent: Monday, March 18, 2002 1:19 PM
Subject: How can i access one child sitemap from another child sitemap.

Hello,
    I got stuck with this problem...
    I have main sitemap for cocoon folder and two other child sitemap,
say child1 and child 2. After execution of a pipeline in child1 I want
to redirect the control to child 2 pipeline. I am not able to do it with
"cocoon:// " as it doesn't work with "map:redirect" tag.
    Please help me...
 
Regards,
Manish
 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to