svn commit: r768241 - /lenya/contributions/2_0_X/modules/defaultstyle/sitemap.xmap

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Fri Apr 24 09:50:10 2009
New Revision: 768241

URL: http://svn.apache.org/viewvc?rev=768241&view=rev
Log:
Apply proxy transformation to page context.

Modified:
    lenya/contributions/2_0_X/modules/defaultstyle/sitemap.xmap

Modified: lenya/contributions/2_0_X/modules/defaultstyle/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/defaultstyle/sitemap.xmap?rev=768241&r1=768240&r2=768241&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/defaultstyle/sitemap.xmap (original)
+++ lenya/contributions/2_0_X/modules/defaultstyle/sitemap.xmap Fri Apr 24 09:50:10 2009
@@ -122,7 +122,13 @@
       
       <!-- {1:pub}/{2:area}/{3:uuid}/{4:language}.pageContext -->
       <map:match pattern="**.pageContext">
-        
+        <map:generate src="cocoon:/{1}.pageContextInternal"/>
+        <map:transform type="proxy"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      
+      <!-- {1:pub}/{2:area}/{3:uuid}/{4:language}.pageContext -->
+      <map:match pattern="**.pageContextInternal">
         <map:generate src="fallback://lenya/content/util/empty.xml"/>
         
         <map:transform src="fallback://lenya/modules/defaultstyle/xslt/page.xsl">
@@ -209,7 +215,7 @@
           </map:select>
         </map:act>
         
-        <map:generate src="cocoon:/{1}/{2}.{3}.pageContext"/>
+        <map:generate src="cocoon:/{1}/{2}.{3}.pageContextInternal"/>
         <map:transform src="xslt/includeDocument.xsl">
           <map:parameter name="pub" value="{page-envelope:publication-id}"/>
           <map:parameter name="area" value="{page-envelope:area}"/>
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.