VelocityNavigation. This screen relies on the VelocityPage
being set as the default page. The doBuildTemplate() assumes the
user has put the template filename in the RunData parameter and set
it to the value of the template file to execute. Specialized
Navigations screens should extend this class and overide the
doBuildTemplate( data , context) method.
author: Dave Bryson author: Henning P. Schmiedehausen version: $Id: VelocityNavigation.java 534527 2007-05-02 16:10:59Z tv $
Method Summary
public ConcreteElement
buildTemplate(RunData data) This Builds the Velocity template.
Parameters: data - Turbine information.
protected void
doBuildTemplate(RunData data, Context context) Velocity Navigations extending this class should overide this
method to perform any particular business logic and add
information to the context.
protected void
doBuildTemplate(RunData data) Needs to be implemented to make TemplateNavigation like us.
Velocity Navigations extending this class should overide this
method to perform any particular business logic and add
information to the context.
Parameters: data - Turbine information. Parameters: context - Context for web pages. exception: Exception - , a generic exception.
Needs to be implemented to make TemplateNavigation like us.
The actual method that you should override is the one with the
context in the parameter list.
Parameters: data - Turbine information. exception: Exception - , a generic exception.
Methods inherited from org.apache.turbine.modules.navigations.TemplateNavigation