Author: thorsten
Date: Mon Dec 4 03:30:07 2006
New Revision: 482140
URL: http://svn.apache.org/viewvc?view=rev&rev=482140
Log:
Adding not found contract to the fo contract directory.
Added:
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/noFt.ft
- copied, changed from r482129,
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/noFt.ft
Copied:
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/noFt.ft
(from r482129,
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/fo/noFt.ft?view=diff&rev=482140&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/noFt.ft&r1=482129&p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/noFt.ft&r2=482140
==============================================================================
---
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/fo/noFt.ft
Mon Dec 4 03:30:07 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>