|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.turbine.util.template.TemplateScreen
public class 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(String screen)
Set the screen. |
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(String screen)
screen - A String with the name of the screen module
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||