forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r232661 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap
Date Sun, 14 Aug 2005 22:40:42 GMT
Author: thorsten
Date: Sun Aug 14 15:40:03 2005
New Revision: 232661

URL: http://svn.apache.org/viewcvs?rev=232661&view=rev
Log:
formating

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap?rev=232661&r1=232660&r2=232661&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap
Sun Aug 14 15:40:03 2005
@@ -32,7 +32,7 @@
         <jtidy-config>jtidy.properties</jtidy-config>
       </map:generator>
       <map:generator name="directory" src="org.apache.cocoon.generation.DirectoryGenerator"
/>
-      </map:generators>
+    </map:generators>
     <map:transformers default="xslt">
       <map:transformer name="cinclude"
         src="org.apache.cocoon.transformation.CIncludeTransformer"/>
@@ -101,12 +101,18 @@
     {1} name of the contract-->
   <map:match pattern="resolve.contract.xhtml.*">
     <map:select type="exists">
+      <map:when test="{project:resources}/templates/{project:theme}/{1}.ft">
+        <map:generate src="{project:resources}/templates/{project:theme}/{1}.ft"/>
+      </map:when>
       <map:when test="{project:resources}/templates/{1}.ft">
         <map:generate src="{project:resources}/templates/{1}.ft"/>
       </map:when>
       <map:when test="{forrest:plugins}/templates/{1}.ft">
         <map:generate src="{forrest:plugins}/templates/{1}.ft"/>
       </map:when>
+      <map:when test="resources/templates/{project:theme}/{1}.ft">
+        <map:generate src="resources/templates/{project:theme}/{1}.ft"/>
+      </map:when>
       <map:when test="resources/templates/{1}.ft">
         <map:generate src="resources/templates/{1}.ft"/>
       </map:when>
@@ -120,8 +126,14 @@
   <!--This activates forrest:call-templates includes into the view.-->
     <map:match pattern="prepare.view-templates.**">
       <map:select type="exists">
+      <map:when test="{project:resources}/templates/{project:theme}/{1}.vt.xml">
+        <map:generate src="{project:resources}/templates/{project:theme}/{1}.vt.xml"/>
+      </map:when>
       <map:when test="{project:resources}/templates/{1}.vt.xml">
         <map:generate src="{project:resources}/templates/{1}.vt.xml"/>
+      </map:when>
+      <map:when test="resources/templates/{project:theme}/{1}.vt.xml">
+        <map:generate src="resources/templates/{project:theme}/{1}.vt.xml"/>
       </map:when>
       <map:when test="resources/templates/{1}.vt.xml">
         <map:generate src="resources/templates/{1}.vt.xml"/>



Mime
View raw message