org.apache.turbine.modules.pages
Class VelocityPage
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Page
org.apache.turbine.modules.pages.DefaultPage
org.apache.turbine.modules.pages.TemplatePage
org.apache.turbine.modules.pages.VelocityPage
public class VelocityPage
- extends TemplatePage
Extends TemplatePage to set the template Context.
- Version:
- $Id: VelocityPage.java 1078552 2011-03-06 19:58:46Z tv $
- Author:
- Dave Bryson, John D. McNally, Henning P. Schmiedehausen, Peter Courcoux
|
Method Summary |
protected void |
doBuildBeforeAction(PipelineData pipelineData)
Stuffs the Context into the RunData so that it is available to
the Action module and the Screen module via getContext(). |
protected void |
doBuildBeforeAction(RunData data)
Deprecated. Use PipelineData version instead. |
protected void |
doPostBuild(PipelineData pipelineData)
Allows the VelocityService to peform post-request actions. |
protected void |
doPostBuild(RunData data)
Allows the VelocityService to peform post-request actions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityPage
public VelocityPage()
doBuildBeforeAction
@Deprecated
protected void doBuildBeforeAction(RunData data)
throws java.lang.Exception
- Deprecated. Use PipelineData version instead.
- Stuffs the Context into the RunData so that it is available to
the Action module and the Screen module via getContext().
- Overrides:
doBuildBeforeAction in class DefaultPage
- Parameters:
data - Turbine information.
- Throws:
Exception, - a generic exception.
java.lang.Exception
doPostBuild
protected void doPostBuild(RunData data)
throws java.lang.Exception
- Allows the VelocityService to peform post-request actions.
(releases the (non-global) tools in the context for reuse later)
- Overrides:
doPostBuild in class DefaultPage
- Parameters:
data - Turbine information.
- Throws:
java.lang.Exception
doBuildBeforeAction
protected void doBuildBeforeAction(PipelineData pipelineData)
throws java.lang.Exception
- Stuffs the Context into the RunData so that it is available to
the Action module and the Screen module via getContext().
- Overrides:
doBuildBeforeAction in class DefaultPage
- Parameters:
data - Turbine information.
- Throws:
Exception, - a generic exception.
java.lang.Exception
doPostBuild
protected void doPostBuild(PipelineData pipelineData)
throws java.lang.Exception
- Allows the VelocityService to peform post-request actions.
(releases the (non-global) tools in the context for reuse later)
- Overrides:
doPostBuild in class DefaultPage
- Throws:
java.lang.Exception
Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.