forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r493840 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
Date Sun, 07 Jan 2007 21:16:52 GMT
Author: thorsten
Date: Sun Jan  7 13:16:51 2007
New Revision: 493840

URL: http://svn.apache.org/viewvc?view=rev&rev=493840
Log:
Enhancing servlet support of the dispatcher. 
The new property allows to get the servlet name in case forrest is not running in the ROOT
context of the servlet container.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap?view=diff&rev=493840&r1=493839&r2=493840
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
Sun Jan  7 13:16:51 2007
@@ -146,6 +146,7 @@
         <map:generate src="cocoon:/resolve.structurer.{1}" type="jx">
           <map:parameter name="lenient-xpath" value="true" />
           <map:parameter name="getRequest" value="{1}" />
+          <map:parameter name="contextPath" value="{request:contextPath}" />
           <map:parameter name="getRequestExtension" value="html" />
         </map:generate>
         <map:transform type="dispatcher">
@@ -173,6 +174,7 @@
           <map:parameter name="lenient-xpath" value="true" />
           <map:parameter name="getRequest" value="{1}" />
           <map:parameter name="getRequestExtension" value="fo" />
+          <map:parameter name="contextPath" value="{request:contextPath}" />
         </map:generate>
         <map:transform type="dispatcher">
           <map:parameter name="cacheKey" value="{0}" />
@@ -187,6 +189,7 @@
           <map:parameter name="lenient-xpath" value="true" />
           <map:parameter name="getRequest" value="{1}" />
           <map:parameter name="getRequestExtension" value="internal{2}" />
+          <map:parameter name="contextPath" value="{request:contextPath}" />
         </map:generate>
         <map:transform type="dispatcher">
           <map:parameter name="cacheKey" value="{0}" />
@@ -202,6 +205,7 @@
           <map:parameter name="lenient-xpath" value="true" />
           <map:parameter name="getRequest" value="{1}" />
           <map:parameter name="getRequestExtension" value="css" />
+          <map:parameter name="contextPath" value="{request:contextPath}" />
         </map:generate>
         <map:transform type="dispatcher">
           <map:parameter name="cacheKey" value="{0}" />
@@ -226,6 +230,7 @@
           <map:parameter name="lenient-xpath" value="true" />
           <map:parameter name="getRequest" value="{1}" />
           <map:parameter name="getRequestExtension" value="xhtml2" />
+          <map:parameter name="contextPath" value="{request:contextPath}" />
         </map:generate>
         <map:transform type="dispatcher">
           <map:parameter name="cacheKey" value="{0}" />



Mime
View raw message