Dear Cocoon users,
I try to mount three subsitemaps into one subsitemap.
However, only the first matching mount seems toe be
called; the second is never called.
My code in the main sitemap:
...
<map:pipelines>
<map:pipeline>
<!-- no match tag, always called! -->
<map:mount uri-prefix=""
src="../clientx/customizations.xmap"
check-reload="yes" reload-method="synchron"/>
</map:pipeline>
<map:pipeline>
<map:match pattern="module1">
<map:mount uri-prefix="module1"
src="../module1/module1-sitemap.xmap"
check-reload="yes" reload-method="synchron"/>
</map:match>
<map:match pattern="module2">
<map:mount uri-prefix="module2"
src="../module2/module2-sitemap.xmap"
check-reload="yes" reload-method="synchron"/>
</map:match>
</map:pipeline>
</map:pipelines>
...
The thing I woul like to happen, is the following:
- the main sitemap mounts customizations.xmap
- if there is a map:match in this sitemap, stop
processing the sitemap
- if there is no match continue with the main
sitemap (handling module1 or module2.)
However, Cocoon seems to stop processing the pipelines
of the main sitemap, after the first map:mount call
was made, even if there was no map:match executed in
the customization.xmap
I would like to have such a way of using the sitemap,
to override client-specificy code from the default
implementation in module1 or module2.
What am I doing wrong, or are there any other ways to
do handle this?
Kind regards,
Kees van Dieren
__________________________________
Do you Yahoo!?
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]