You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2006/06/27 19:14:45 UTC
svn commit: r417527 - in /lenya/trunk/src/modules/neutron: sitemap.xmap
xslt/introspection.xsl
Author: michi
Date: Tue Jun 27 10:14:44 2006
New Revision: 417527
URL: http://svn.apache.org/viewvc?rev=417527&view=rev
Log:
checkout fixed
Modified:
lenya/trunk/src/modules/neutron/sitemap.xmap
lenya/trunk/src/modules/neutron/xslt/introspection.xsl
Modified: lenya/trunk/src/modules/neutron/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/neutron/sitemap.xmap?rev=417527&r1=417526&r2=417527&view=diff
==============================================================================
--- lenya/trunk/src/modules/neutron/sitemap.xmap (original)
+++ lenya/trunk/src/modules/neutron/sitemap.xmap Tue Jun 27 10:14:44 2006
@@ -37,16 +37,17 @@
</map:pipeline>
<map:pipeline>
- <map:match pattern="neutron" type="usecase">
+
<map:match pattern="checkout" type="step">
<map:select type="resource-exists">
- <map:parameter name="prefix" value="lenya://"/>
+ <map:parameter name="prefix" value="context://"/>
<map:when test="lenya/pubs/{page-envelope:publication-id}/content/authoring/{page-envelope:document-path}">
<map:act type="reserved-checkout">
<map:generate src="context://lenya/content/util/empty.xml"/>
<map:serialize type="xml" status-code="423"/>
</map:act>
- <map:generate src="lenya://lenya/pubs/{page-envelope:publication-id}/content/authoring/{page-envelope:document-path}"/>
+ <map:generate src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{page-envelope:document-path}"/>
+ <map:transform src="fallback://lenya/xslt/util/strip_namespaces.xsl" />
<map:serialize type="xml" status-code="200" />
</map:when>
<map:otherwise>
@@ -60,7 +61,7 @@
<map:generate src="context://lenya/content/util/empty.xml"/>
<map:serialize type="xml"/>
</map:match>
- </map:match>
+
</map:pipeline>
</map:pipelines>
Modified: lenya/trunk/src/modules/neutron/xslt/introspection.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/neutron/xslt/introspection.xsl?rev=417527&r1=417526&r2=417527&view=diff
==============================================================================
--- lenya/trunk/src/modules/neutron/xslt/introspection.xsl (original)
+++ lenya/trunk/src/modules/neutron/xslt/introspection.xsl Tue Jun 27 10:14:44 2006
@@ -34,9 +34,9 @@
<open url="{$context}/{$publication}/authoring/{$page-id}.xml" method="GET"/>
- <checkout url="{$context}/{$publication}/authoring/{$page-id}.xml?lenya.usecase=neutron&lenya.step=checkout" method="GET"/>
+ <checkout url="{$context}/{$publication}/authoring/{$page-id}.xml?lenya.module=neutron&lenya.step=checkout" method="GET"/>
- <save url="{$context}/{$publication}/authoring/{$page-id}.xml?lenya.usecase=neutron&lenya.step=checkin" method="PUT"/>
+ <save url="{$context}/{$publication}/authoring/{$page-id}.xml?lenya.module=neutron&lenya.step=checkin" method="PUT"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org