Package org.apache.turbine.util.template
Class TemplateScreen
- java.lang.Object
-
- org.apache.turbine.util.template.TemplateScreen
-
public class TemplateScreen extends Object
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")
- Version:
- $Id$
- Author:
- Raphaƫl Luta
-
-
Constructor Summary
Constructors Constructor Description TemplateScreen(PipelineData pipelineData)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateScreen
setScreen(String screen)
Set the screen.String
toString()
Builds the output of the navigation template.
-
-
-
Constructor Detail
-
TemplateScreen
public TemplateScreen(PipelineData pipelineData)
Constructor- Parameters:
pipelineData
- A Turbine PipelineData object.
-
-
Method Detail
-
setScreen
public TemplateScreen setScreen(String screen)
Set the screen.- Parameters:
screen
- A String with the name of the screen module- Returns:
- A TemplateScreen (self).
-
-