You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2006/02/14 17:11:23 UTC

svn commit: r377754 - /lenya/trunk/src/webapp/global-sitemap.xmap

Author: chestnut
Date: Tue Feb 14 08:11:20 2006
New Revision: 377754

URL: http://svn.apache.org/viewcvs?rev=377754&view=rev
Log:
allow publications to define there own module sitemaps, and module-resources.xmap by using fallback://

Modified:
    lenya/trunk/src/webapp/global-sitemap.xmap

Modified: lenya/trunk/src/webapp/global-sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/global-sitemap.xmap?rev=377754&r1=377753&r2=377754&view=diff
==============================================================================
--- lenya/trunk/src/webapp/global-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/global-sitemap.xmap Tue Feb 14 08:11:20 2006
@@ -263,12 +263,12 @@
         <map:select type="resource-exists">
           <!-- resource exists - serve statically -->
           <map:when test="lenya/modules/{1}/resources/{2}">
-            <map:mount uri-prefix="modules/" src="lenya/module-resources.xmap" check-reload="true" reload-method="synchron" pass-through="true"/>
+            <map:mount uri-prefix="modules/" src="fallback://lenya/module-resources.xmap" check-reload="true" reload-method="synchron" pass-through="true"/>
           </map:when>
         </map:select>
         
         <!-- resource doesn't exist or not handled by lenya/module-resources.xmap - delegate to module -->
-        <map:mount uri-prefix="modules/{1}/" src="lenya/modules/{1}/sitemap.xmap" check-reload="true" reload-method="synchron"/>
+        <map:mount uri-prefix="modules/{1}/" src="fallback://lenya/modules/{1}/sitemap.xmap" check-reload="true" reload-method="synchron"/>
         
       </map:match>
       



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org