Dashboard > RIFE > ... > Element Definition > Stock Elements
RIFE Log In | Sign Up   View a printable version of the current page.
Stock Elements


Added by Stefan Thomas, last edited by Stefan Thomas on Jul 14, 2006  (view change) show comment
Labels: 
(None)

Stock Elements

Simple Print Template Element

Usage Example

<element id="About" file="rife/template/print.xml" url="/about">
    <property name="name">pub.about</property>
</element>

This element just prints out the template with the name that was provided to it. The name will be looked up through the classpath and if it can't be found from the initial try, RIFE will prepend the search with the 'templates' directory. The template can thus be located at pub/about.html or templates/pub/about.html.

The html suffix is determined by the template type, which is by default enginehtml.



Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.1a Build:#515 May 19, 2006) - Bug/feature request - Contact Administrators