cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: calling pipeline from parent sitemap
Date Tue, 09 Dec 2003 08:09:51 GMT
gounis@osmosis.gr wrote:

>hi people 
>
>in my case i have 4 lever sub-sitemap
>
>sitemap (1)
>  sub-sitemap (2) 
>    sub-sitemap (3)
>     sub-sitemap (4)
>
>
>the question is how can i use as src in sub-sitemap(4) a pipeline that 
>exist in sub-sitemap(3) or (2) ?
>  
>
Yes. Each request is handled by Cocoon, with cocoon:/ mapping to the 
current sitemap. So sitemaps can refer to their children by the URI 
relative to their parent's URI-prefix. E.g.

sitemap 1: mounted on cocoon
sitemap: 2: mounted on site
sitemap: 3: mounted on foo
sitemap: 4 : mounted on bar, has a matcher for "page"

 From sitemap 2, you'd access the 'page' matcher as cocoon:/foo/bar/page
 From sitemap 3, you'd access it as cocoon:/bar/page
Etc.

Regards, Upayavira



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message