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/24 11:50:10 UTC

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

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



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