svn commit: r595282 - /lenya/trunk/src/modules/kupu/sitemap.xmap

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Thu Nov 15 04:08:30 2007
New Revision: 595282

URL: http://svn.apache.org/viewvc?rev=595282&view=rev
Log:
Remove proxy module call from parameters which will be transformed by the proxy transformer. This avoids duplicate context paths, see bug 43750.

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

Modified: lenya/trunk/src/modules/kupu/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/kupu/sitemap.xmap?rev=595282&r1=595281&r2=595282&view=diff
==============================================================================
--- lenya/trunk/src/modules/kupu/sitemap.xmap (original)
+++ lenya/trunk/src/modules/kupu/sitemap.xmap Thu Nov 15 04:08:30 2007
@@ -99,7 +99,7 @@
           <map:transform src="fallback://lenya/modules/kupu/resources/kupu/apache-lenya/lenya/kupumacros.xsl">
             <map:parameter name="contentfile" 
               value="{proxy:/{page-envelope:publication-id}/{page-envelope:area}{page-envelope:document-path}}?lenya.module=kupu&amp;lenya.step=content"/>
-            <map:parameter name="context-prefix" value="{proxy:/{page-envelope:publication-id}}/modules/kupu"/>
+            <map:parameter name="context-prefix" value="/{page-envelope:publication-id}/modules/kupu"/>
             <!-- Only used to display the document path of the edited doc  -->
             <map:parameter name="document-path" value="&quot;{dublincore:title}&quot;"/>
             <map:parameter name="save-destination" value="{proxy:/{page-envelope:publication-id}/{page-envelope:area}{page-envelope:document-path}}?lenya.event=edit"/>
@@ -124,7 +124,7 @@
             <map:generate src="lenya-document:{page-envelope:document-uuid},lang={page-envelope:document-language}"/>
             <map:transform 
               src="fallback://lenya/modules/kupu/resources/kupu/apache-lenya/lenya/content2edit.xsl">
-              <map:parameter name="css" value="{proxy:/{1}/authoring/css/page.css}"/>
+              <map:parameter name="css" value="/{1}/authoring/css/page.css"/>
               <map:parameter name="nodeid" value="{page-envelope:document-name}"/>
             </map:transform>
             <map:transform type="uuid2url"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.