Hi committers,

I suggest adding the following to the standard sitemap.xmap - it would allow 
sub-sitemaps to be "mounted" while Cocoon is running, by copying them 
under the "mount" subdirectory, without having to modify the main 
sitemap.xmap.

This is based on Stefan Koehler's message of yesterday re.Cocoon web 
applications - thanks!

  <!-- "automount" setup
    This causes directories added under "mount"
    (even with Cocoon already running) to be activated automagically
    if they contain a sitemap.xmap, without having to modify the main
    sitemap.xmap
  -->
  <map:pipeline>
    <map:match pattern="mount/*/**">
      <map:mount uri-prefix="mount/{1}" src="mount/{1}/" check-reload="yes"/>
    </map:match>
  </map:pipeline>

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++







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

Reply via email to