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/03/23 17:12:20 UTC

svn commit: r158793 - lenya/trunk/src/webapp/lenya/admin.xmap

Author: andreas
Date: Wed Mar 23 08:12:18 2005
New Revision: 158793

URL: http://svn.apache.org/viewcvs?view=rev&rev=158793
Log:
redirect to admin.users usecase in admin area

Modified:
    lenya/trunk/src/webapp/lenya/admin.xmap

Modified: lenya/trunk/src/webapp/lenya/admin.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/admin.xmap?view=diff&r1=158792&r2=158793
==============================================================================
--- lenya/trunk/src/webapp/lenya/admin.xmap (original)
+++ lenya/trunk/src/webapp/lenya/admin.xmap Wed Mar 23 08:12:18 2005
@@ -75,6 +75,14 @@
   <map:pipelines>
     
     <map:pipeline>
+
+      <map:select type="parameter">
+        <map:parameter name="parameter-selector-test" value="{request-param:lenya.usecase}"/>
+        <map:when test="">
+          <map:redirect-to session="true" uri="{request:requestURI}?lenya.usecase=admin.users"/>
+        </map:when>
+      </map:select>
+
       <map:match type="registered-usecase">
         <map:mount src="usecases/usecase.xmap" uri-prefix="" check-reload="yes" reload-method="synchron"/>
       </map:match>



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