cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@codeconsult.ch>
Subject [PATCH] sub-sitemap automount suggestion
Date Thu, 18 Oct 2001 10:34:05 GMT
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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message