svn commit: r765947 - /lenya/docu/modules/docustyle/sitemap.xmap

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Fri Apr 17 11:18:15 2009
New Revision: 765947

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

Modified:
    lenya/docu/modules/docustyle/sitemap.xmap

Modified: lenya/docu/modules/docustyle/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/docu/modules/docustyle/sitemap.xmap?rev=765947&r1=765946&r2=765947&view=diff
==============================================================================
--- lenya/docu/modules/docustyle/sitemap.xmap (original)
+++ lenya/docu/modules/docustyle/sitemap.xmap Fri Apr 17 11:18:15 2009
@@ -116,9 +116,16 @@
       
     <!-- This is the pipeline that ultimately builds the page. -->
     <map:pipeline type="noncaching">
-      
+
       <!-- {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"/>
         
@@ -171,7 +178,7 @@
           </map:when>
         </map:select>          
         
-        <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.