lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject svn commit: r684701 - /lenya/trunk/src/modules/usecasedocument/sitemap.xmap
Date Mon, 11 Aug 2008 10:27:44 GMT
Author: andreas
Date: Mon Aug 11 03:27:42 2008
New Revision: 684701

URL: http://svn.apache.org/viewvc?rev=684701&view=rev
Log:
Adding parameterized matcher for usecasedocument resource type.

Modified:
    lenya/trunk/src/modules/usecasedocument/sitemap.xmap

Modified: lenya/trunk/src/modules/usecasedocument/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/usecasedocument/sitemap.xmap?rev=684701&r1=684700&r2=684701&view=diff
==============================================================================
--- lenya/trunk/src/modules/usecasedocument/sitemap.xmap (original)
+++ lenya/trunk/src/modules/usecasedocument/sitemap.xmap Mon Aug 11 03:27:42 2008
@@ -90,7 +90,13 @@
       <map:match type="request-parameter" pattern="lenya.continuation">
         <map:call continuation="{1}"/>
       </map:match>
+
       <map:match pattern="usecase.xml">
+        <map:generate src="cocoon:/usecase.xml/{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-uuid}/{page-envelope:document-language}"/>
+        <map:serialize type="xml"/>
+      </map:match>
+
+      <map:match pattern="usecase.xml/*/*/*/*">
         <map:call function="executeUsecase">
           <map:parameter name="usecaseName" value="{usecase-document:usecase}"/>
         </map:call>



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


Mime
View raw message