org.apache.jetspeed.modules.pages
Class JetspeedVelocityPage

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Page
          extended byorg.apache.turbine.modules.pages.DefaultPage
              extended byorg.apache.jetspeed.modules.pages.JetspeedTemplatePage
                  extended byorg.apache.jetspeed.modules.pages.JetspeedVelocityPage

public class JetspeedVelocityPage
extends JetspeedTemplatePage

Extends JetspeedTemplatePage to set the Velocity template Context.

Version:
$Id: JetspeedVelocityPage.java,v 1.10 2005/03/21 18:21:36 sgala Exp $
Author:
RaphaŽl Luta

Constructor Summary
JetspeedVelocityPage()
           
 
Method Summary
protected  void doBuildBeforeAction(org.apache.turbine.util.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(org.apache.turbine.util.RunData data)
          Allows the VelocityService to peform post-request actions.
 
Methods inherited from class org.apache.jetspeed.modules.pages.JetspeedTemplatePage
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

JetspeedVelocityPage

public JetspeedVelocityPage()
Method Detail

doBuildBeforeAction

protected void doBuildBeforeAction(org.apache.turbine.util.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(). Add a couple of default jetspeed context objects.

Overrides:
doBuildBeforeAction in class JetspeedTemplatePage
Parameters:
data - Turbine information.
Throws:
Exception, - a generic exception.
java.lang.Exception

doPostBuild

protected void doPostBuild(org.apache.turbine.util.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)

Throws:
java.lang.Exception


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