org.apache.turbine.modules.navigations
Class BaseJspNavigation

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Navigation
          extended byorg.apache.turbine.modules.navigations.TemplateNavigation
              extended byorg.apache.turbine.modules.navigations.BaseJspNavigation

public class BaseJspNavigation
extends TemplateNavigation

Base JSP navigation that should be subclassed by Navigation that want to use JSP. Subclasses should override the doBuildTemplate() method.

Version:
$Id: BaseJspNavigation.java 534527 2007-05-02 16:10:59Z tv $
Author:
John D. McNally, Henning P. Schmiedehausen

Constructor Summary
BaseJspNavigation()
           
 
Method Summary
 org.apache.ecs.ConcreteElement buildTemplate(RunData data)
          Method that sets up beans and forward the request to the JSP.
protected  void doBuildTemplate(RunData data)
          Method to be overidden by subclasses to include data in beans, etc.
 
Methods inherited from class org.apache.turbine.modules.navigations.TemplateNavigation
doBuild
 
Methods inherited from class org.apache.turbine.modules.Navigation
build, prepareText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseJspNavigation

public BaseJspNavigation()
Method Detail

doBuildTemplate

protected void doBuildTemplate(RunData data)
                        throws java.lang.Exception
Method to be overidden by subclasses to include data in beans, etc.

Specified by:
doBuildTemplate in class TemplateNavigation
Parameters:
data - the Rundata object
Throws:
java.lang.Exception - a generic exception.

buildTemplate

public org.apache.ecs.ConcreteElement buildTemplate(RunData data)
                                             throws java.lang.Exception
Method that sets up beans and forward the request to the JSP.

Specified by:
buildTemplate in class TemplateNavigation
Parameters:
data - the Rundata object
Returns:
null - the JSP sends the information
Throws:
java.lang.Exception - a generic exception.


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