You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2005/11/14 11:23:57 UTC
svn commit: r344095 - /lenya/trunk/src/webapp/global-sitemap.xmap
Author: andreas
Date: Mon Nov 14 02:23:36 2005
New Revision: 344095
URL: http://svn.apache.org/viewcvs?rev=344095&view=rev
Log:
Apply module menu fallback to menus.xmap, not to single XSPs
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=344095&r1=344094&r2=344095&view=diff
==============================================================================
--- lenya/trunk/src/webapp/global-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/global-sitemap.xmap Mon Nov 14 02:23:36 2005
@@ -237,12 +237,8 @@
<!-- menu-xml/module/{module-id}/{area}.xml -->
<map:match pattern="menu-xml/module/*/*.xml">
<map:select type="resource-exists">
- <map:when test="fallback://config/menus/{2}.xsp">
- <map:generate type="serverpages" src="fallback://config/menus/{2}.xsp"/>
- <map:serialize type="xml"/>
- </map:when>
- <map:when test="lenya/modules/{2}/menus.xmap">
- <map:mount uri-prefix="menu-xml/module/{1}/" src="lenya/modules/{2}/menus.xmap" check-reload="true" reload-method="synchron"/>
+ <map:when test="fallback://lenya/modules/{2}/menus.xmap">
+ <map:mount uri-prefix="menu-xml/module/{1}/" src="fallback://lenya/modules/{2}/menus.xmap" check-reload="true" reload-method="synchron"/>
</map:when>
<map:otherwise>
<map:generate type="serverpages" src="lenya/content/menus/live.xsp"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org