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,v 1.1.1.1 2001/08/16 05:08:36 jvanzyl Exp $
Author:
Dave Bryson, John D. McNally

Constructor Summary
VelocityPage()
           
 
Method Summary
protected  void doBuildBeforeAction(RunData data)
          Stuffs the Context into the RunData so that it is available to the Action module and the Screen module via getContext().
protected  void doPostBuild(RunData data)
          Allows the VelocityService to peform post-request actions.
 
Methods inherited from class org.apache.turbine.modules.pages.TemplatePage
doBuildAfterAction
 
Methods inherited from class org.apache.turbine.modules.pages.DefaultPage
doBuild
 
Methods inherited from class org.apache.turbine.modules.Page
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityPage

public VelocityPage()
Method Detail

doBuildBeforeAction

protected void doBuildBeforeAction(RunData data)
                            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.

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
Following copied from class: org.apache.turbine.modules.pages.DefaultPage
Parameters:
data - Turbine information.
Throws:
Exception, - a generic exception.


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.