forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r493843 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes: coat.fv common.fv pelt.fv
Date Sun, 07 Jan 2007 21:18:06 GMT
Author: thorsten
Date: Sun Jan  7 13:18:05 2007
New Revision: 493843

URL: http://svn.apache.org/viewvc?view=rev&rev=493843
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.themes.core/themes/coat.fv
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common.fv
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/coat.fv
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/coat.fv?view=diff&rev=493843&r1=493842&r2=493843
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/coat.fv (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/coat.fv Sun Jan
 7 13:18:05 2007
@@ -22,7 +22,7 @@
   <!-- The following variables are used to contact data models and/or contracts. -->
   <jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
   <jx:set var="getRequestExtension" value="#{$cocoon/parameters/getRequestExtension}"
/>
-  
+  <jx:set var="contextPath" value="#{$cocoon/parameters/contextPath}"/>
   <forrest:view type="html" hooksXpath="/html/body">
     <!-- 
         @type defines this structurer to html.

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common.fv
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common.fv?view=diff&rev=493843&r1=493842&r2=493843
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common.fv (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common.fv Sun Jan
 7 13:18:05 2007
@@ -20,6 +20,7 @@
   xmlns:forrest="http://apache.org/forrest/templates/1.0"
   xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
   <!-- The following variables are used to contact data models and/or contracts. -->
+  <jx:set var="contextPath" value="#{$cocoon/parameters/contextPath}"/>
   <jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
   <jx:set var="getRequestExtension" value="#{$cocoon/parameters/getRequestExtension}"
/>
   <forrest:view type="fo" hooksXpath="/">

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv?view=diff&rev=493843&r1=493842&r2=493843
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv Sun Jan
 7 13:18:05 2007
@@ -18,6 +18,7 @@
 <forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" 
   xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
   <!-- The following variables are used to contact data models and/or contracts. -->
+  <jx:set var="contextPath" value="#{$cocoon/parameters/contextPath}"/>
   <jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
   <jx:set var="getRequestExtension" value="#{$cocoon/parameters/getRequestExtension}"
/>
   <!-- CSS View of the request e.g. index.dispatcher.css -->



Mime
View raw message