|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.turbine.util.template.TemplateNavigation
Returns output of a Navigation module. An instance of this is placed in the WebMacro context by the WebMacroSiteLayout. This allows template authors to set the navigation template they'd like to place in their templates. Here's how it's used in a template:
$navigation.setTemplate("admin_navigation.wm")
Constructor Summary | |
TemplateNavigation(RunData data)
Constructor |
Method Summary | |
TemplateNavigation |
setTemplate(java.lang.String template)
Set the template. |
java.lang.String |
toString()
Builds the output of the navigation template. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TemplateNavigation(RunData data)
data
- A Turbine RunData object.Method Detail |
public TemplateNavigation setTemplate(java.lang.String template)
template
- A String with the name of the navigation
template.
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |