You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/04/17 13:18:16 UTC

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

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}"/>



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