This element simply outputs a template. It is useful for static content or for pages whose dynamic output is all produced by embedded elements.
Configuration
Declare the element in a site definition:
<element id="AboutUs" file="rife/template/print.xml" url="aboutus">
<property name="name">static.about_us</property>
</element>
Properties
| property |
default |
description |
| name |
|
The name of the template to output |
| type |
enginehtml |
The type of template to output (must be a template type registered with the TemplateFactory class) |
| encoding |
null |
The character encoding of the template |
Files
| type |
location |
| Java implementation |
com.uwyn.rife.engine.elements.PrintTemplate |
| XML declaration |
rife/template/print.xml |