cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish" <>
Subject Re: How can i access one child sitemap from another child sitemap.
Date Fri, 01 Mar 2002 15:04:00 GMT
Hello Vadim, 

Let me put the problem in different way. The project I am working on, has different modules,
I have two concern... 

1) I want to decide the next page (navigation of the site) from site map only 

(Not even from action class, as it will require change in class to change the navigation).

2) As the project has lots of screen, I want separate sitemap for each module. Thus I am required
to move from one site map to other site map frequently. 

Let me have an example to elaborate the situation. 

The project (has main site map) has two modules 

Transaction Manager (child map 1) 

DSS (child map 2) 

Now DSS can be invoked from transaction screen by pressing a button (with cocoon-action 'invoke
dss'). on this action transaction class will save the transaction to database and will invoke
DSS screen(both of these two module have two different sitemap). How do I redirect to other
screen with above two concerns. 

your guidance will be highly appreciable as i am in trouble in managing the sitemap. 


Manish Jain

----- Original Message ----- 
From: "Vadim Gritsenko" <>
To: <>
Sent: Monday, March 18, 2002 7:13 PM
Subject: RE: How can i access one child sitemap from another child sitemap.

> 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 [] 
> Sent: Monday, March 18, 2002 12:39 AM
> To:
> 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: 
> 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. <>
> To unsubscribe, e-mail: <>
> For additional commands, e-mail: <>

View raw message