|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.util.template.TemplateScreen
Returns output of a Screen module. An instance of this is placed in the Velocity context by the VelocityDirectLayout. This allows the screen to be executed only at rendering. Here's how it's used in a template:
$screen_placeholder
$screen_placeholder.setScreen("Test")
Constructor Summary | |
TemplateScreen(RunData data)
Constructor |
Method Summary | |
TemplateScreen |
setScreen(java.lang.String screen)
Set the screen. |
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 TemplateScreen(RunData data)
data
- A Turbine RunData object.Method Detail |
public TemplateScreen setScreen(java.lang.String screen)
screen
- A String with the name of the screen module
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |