On Tue, 9 Dec 2003, Upayavira wrote:
> [EMAIL PROTECTED] wrote:
>
> >On Tue, 9 Dec 2003, Upayavira wrote:
> >
> >
> >
> >>[EMAIL PROTECTED] 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.
> >>
> >>
> >>
> >
> >Upayavira thnx for your reply but what im looking is the opposite
> >in your example
> >
> >sitemap 2:, has a matcher for "page"
> >
> >and i want to access from sitemap 4:
> >
> >
> Ahh. No, you can't do a relative reference back to a parent sitemap. You
> have to know the path from the root, using cocoon://. You could set a
> variable in the sitemap and use that as the URI path to the parent
> sitemap, so you have something like cocoon://{global:parent}/path/to/page.
>
> This way, you have to tell each subsitemap where it is mounted (or where
> its parents are), but you only have to do this once per sitemap.
>
> Make sense?
>
clearly ... thnx
BTW i'm the only one i need this ?
--stavros
> Regards, Upayavira
>
> >
> >
> >
> >
> >
> >>Regards, Upayavira
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]