The layout templates for pulse are written in XSLT (a declarative, XML-based language used for the transformation of XML documents into other XML documents such as XHTML).
Your main point of entry when adjusting or creating a new layout will be WEB-INF/xsl/main.xsl. If you want to see the source XML used for the transformations, take a look at WEB-INF/xsl/globals.xsl:
<!-- debug area in demo layout --> <xsl:variable name="debug.site">false</xsl:variable>
If you turn this setting to "
true", the complete XML source for the transformation will be added at the bottom of the
If you already know XSLT, we are pretty sure that you will find your way around. More documentation on customising the layout will follow.
The pulse web application framework uses a template system for generating HTML-output. These templates can easily be customised or simply overridden in order to create more advanced and custom layouts. This article will give an introduction to the templates of the demo layout as it comes bundled with the binary distribution of the pulse framework.
With the "babelfish" concept we are providing a simple, yet convenient and highly structured concept for easy localisation of XSL-templates.