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 2003/07/04 15:56:04 UTC
cvs commit: cocoon-lenya/src/webapp/lenya admin.xmap usecase.xmap
andreas 2003/07/04 06:56:04
Modified: src/webapp/lenya admin.xmap usecase.xmap
Log:
- corrected pipeline order in admin.xmap
- removed user admin from usecase.xmap
Revision Changes Path
1.12 +9 -12 cocoon-lenya/src/webapp/lenya/admin.xmap
Index: admin.xmap
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/admin.xmap,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- admin.xmap 4 Jul 2003 13:17:04 -0000 1.11
+++ admin.xmap 4 Jul 2003 13:56:04 -0000 1.12
@@ -61,6 +61,15 @@
<map:pipeline>
+ <!-- ============================================================ -->
+ <!-- Admin Homepage -->
+ <!-- ============================================================ -->
+
+ <map:match pattern="internal/index.html">
+ <map:generate src="content/admin/index.xml"/>
+ <map:serialize type="xml"/>
+ </map:match>
+
<!-- ============================================================ -->
<!-- Status Page -->
<!-- ============================================================ -->
@@ -126,18 +135,6 @@
</map:match>
</map:pipeline>
- <!-- ============================================================ -->
- <!-- Admin Homepage (and all other pages) -->
- <!-- ============================================================ -->
-
- <map:pipeline>
- <map:match pattern="internal/**">
- <map:generate src="content/admin/index.xml"/>
- <map:serialize type="xml"/>
- </map:match>
- </map:pipeline>
-
-
<!-- =================================================================== -->
<!-- Aggregated Pages -->
<!-- =================================================================== -->
1.33 +2 -48 cocoon-lenya/src/webapp/lenya/usecase.xmap
Index: usecase.xmap
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/usecase.xmap,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- usecase.xmap 4 Jul 2003 13:19:53 -0000 1.32
+++ usecase.xmap 4 Jul 2003 13:56:04 -0000 1.33
@@ -9,13 +9,7 @@
<map:readers default="resource"/>
<map:serializers default="html"/>
<map:matchers default="wildcard"/>
-
- <map:actions>
- <map:action name="user-admin-add" src="org.apache.lenya.cms.cocoon.acting.UserAdminAddAction"/>
- <map:action name="user-admin-modify" src="org.apache.lenya.cms.cocoon.acting.UserAdminModifyAction"/>
- <map:action name="user-admin-delete" src="org.apache.lenya.cms.cocoon.acting.UserAdminDeleteAction"/>
- </map:actions>
-
+
<map:selectors>
<map:selector logger="sitemap.selector.exception" name="exception" src="org.apache.cocoon.selection.ExceptionSelector">
<exception class="org.apache.lenya.cms.task.ExecutionException" name="execution"/>
@@ -328,8 +322,7 @@
<map:serialize type="html"/>
</map:match>
</map:match>
-
- <!--Rollback-->
+ <!--Rollback-->
<map:match pattern="rollback" type="usecase">
<map:match pattern="showscreen" type="step">
@@ -613,45 +606,6 @@
<map:parameter name="task-id" value="{request-param:task-id}"/>
<map:redirect-to session="true" uri="{request:requestURI}"/>
</map:act>
- </map:match>
-
- </map:match>
-
-
- <!-- ============================================================ -->
- <!-- UserAdmin -->
- <!-- ============================================================ -->
-
- <map:match pattern="user-add" type="usecase">
-
- <map:match pattern="showscreen" type="step">
- <map:generate src="content/ac/user-add.xsp" type="serverpages"/>
- <map:transform src="xslt/ac/user-add.xsl"/>
- <map:call resource="style-cms-page"/>
- </map:match>
-
- <map:match pattern="add" type="step">
- <map:act type="user-admin-add">
- <map:redirect-to uri="{request:requestURI}"/>
- </map:act>
- <map:redirect-to uri="{request:requestURI}?lenya.usecase=user-add&lenya.step=showscreen&user-id={request-param:user-id}"/>
- </map:match>
-
- </map:match>
-
- <map:match pattern="user-delete" type="usecase">
-
- <map:match pattern="showscreen" type="step">
- <map:generate src="content/ac/user-modify.xsp" type="serverpages"/>
- <map:transform src="xslt/ac/user-delete.xsl"/>
- <map:call resource="style-cms-page"/>
- </map:match>
-
- <map:match pattern="delete" type="step">
- <map:act type="user-admin-delete">
- <map:redirect-to uri="{request:requestURI}"/>
- </map:act>
- <map:redirect-to uri="{request:requestURI}?lenya.usecase=user-delete&lenya.step=showscreen&user-id={request-param:user-id}"/>
</map:match>
</map:match>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org