|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.modules.Assembler
org.apache.turbine.modules.Layout
org.apache.turbine.modules.layouts.VelocityXslLayout
This Layout module allows Velocity XML templates to be used as layouts.
Once the (XML) screen and navigation templates have been inserted into
the layout template the result is transformed with a XSL stylesheet.
The stylesheet (with the same name than the screen template) is loaded
and executed by the XSLT service, so it is important that you correctly
set up your XSLT service. If the named stylsheet does not exist the
default.xsl stylesheet is executed. If default.xsl does not exist
the XML is merely echoed.
Since dynamic content is supposed to be primarily located in
screens and navigations there should be relatively few reasons to
subclass this Layout.
Constructor Summary | |
VelocityXslLayout()
|
Method Summary | |
void |
doBuild(RunData data)
Build the layout. |
Methods inherited from class org.apache.turbine.modules.Layout |
build |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VelocityXslLayout()
Method Detail |
public void doBuild(RunData data) throws java.lang.Exception
doBuild
in class Layout
data
- Turbine information.
java.lang.Exception
- a generic exception.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |