forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r482139 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/noFt.ft
Date Mon, 04 Dec 2006 11:27:04 GMT
Author: thorsten
Date: Mon Dec  4 03:27:00 2006
New Revision: 482139

URL: http://svn.apache.org/viewvc?view=rev&rev=482139
Log:
Refactoring contract to the new dispatcher grammar FOR-797

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/noFt.ft

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/noFt.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/noFt.ft?view=diff&rev=482139&r1=482138&r2=482139
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/noFt.ft
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/noFt.ft
Mon Dec  4 03:27:00 2006
@@ -16,20 +16,22 @@
   limitations under the License.
 -->
 <forrest:contract xmlns:forrest="http://apache.org/forrest/templates/1.0" 
-  name="noFt" type="nugget">
+  name="noFt">
   <description> 
     <p>Error 440<br/> Template not found. This functions is a fallback 
     when no ft is found. This is just a dummy, it will output *nothing*.</p>
   </description>
   <usage><![CDATA[<forrest:contract name="doNotUseJustDummy"/>]]></usage>
   <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0" 
-    format="html" name="noFt" inputFormat="xsl" body="true" head="true" 
-    css="false">
+    format="html" name="noFt" inputFormat="xsl" >
     <xsl:stylesheet version="1.1" 
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-      <xsl:template name="noFt-head"> Error 440 - Template not found. 
-        </xsl:template>
-      <xsl:template name="noFt-body"> Error 440 - Template not found. 
+     <xsl:template name="/"> 
+        <forrest:content>
+          <forrest:part>
+            Error 440 - Template not found. 
+          </forrest:part>
+        </forrest:content>
         </xsl:template>
     </xsl:stylesheet>
   </forrest:template>



Mime
View raw message