org.fusesource.scalate.layout
The default implementation of LayoutStrategy.
LayoutStrategy
This implementation will first try to load a layout by using the "layout" attribute of the given template. If that is not specified then the defaultLayouts value is used.
Different template engines will configure the defaultLayouts in different ways. For example see org.fusesource.scalate.servlet.ServletTemplateEngine for its defaults.
$Revision : 1.1 $
Render the specified template by decorating it with another "layout template".
the template to render
the context that will be used for rendering the template
The default implementation of
LayoutStrategy
.This implementation will first try to load a layout by using the "layout" attribute of the given template. If that is not specified then the defaultLayouts value is used.
Different template engines will configure the defaultLayouts in different ways. For example see org.fusesource.scalate.servlet.ServletTemplateEngine for its defaults.
$Revision : 1.1 $