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 2008/02/06 23:08:40 UTC

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

Author: andreas
Date: Wed Feb  6 14:08:38 2008
New Revision: 619181

URL: http://svn.apache.org/viewvc?rev=619181&view=rev
Log:
Replacing filter-menu.xsl with MenuFilterTransformer

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

Modified: lenya/trunk/src/webapp/global-sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/global-sitemap.xmap?rev=619181&r1=619180&r2=619181&view=diff
==============================================================================
--- lenya/trunk/src/webapp/global-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/global-sitemap.xmap Wed Feb  6 14:08:38 2008
@@ -136,9 +136,7 @@
           <map:part src="cocoon:/menu-xml/modules/{1}/{2}.xml" strip-root="true"/>
         </map:aggregate>
         <map:transform src="lenya/xslt/menu/merge-menus.xsl"/>
-        <map:transform src="lenya/xslt/menu/filter-menu.xsl">
-          <map:parameter name="tabGroup" value="{usecase:tabGroup:{request-param:lenya.usecase}}"/>
-        </map:transform>
+        <map:transform type="menufilter"/>
         <!-- Disable menu items according to usecase policies -->
         <map:transform type="usecasemenu"/>
         <map:transform src="fallback://lenya/xslt/menu/menubar2xhtml.xsl">
@@ -192,7 +190,7 @@
             <map:mount uri-prefix="menu-xml/module/{1}/" src="{fallback:lenya/modules/{2}/menus.xmap}" check-reload="true" reload-method="synchron" pass-through="true"/>
           </map:when>
           <map:otherwise>
-            <map:generate src="lenya/content/menus/live.xml"/>
+            <map:generate src="lenya/content/menus/emptyMenu.xml"/>
             <map:serialize type="xml"/>
           </map:otherwise>
         </map:select>



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