org.apache.turbine.modules.screens
Class BaseJspScreen
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Screen
org.apache.turbine.modules.screens.TemplateScreen
org.apache.turbine.modules.screens.BaseJspScreen
- Direct Known Subclasses:
- JspErrorScreen
public class BaseJspScreen
- extends TemplateScreen
Base JSP Screen that should be subclassed by screens that want to
use JSP. Subclasses should override the doBuildTemplate() method.
- Version:
- $Id: BaseJspScreen.java 938645 2010-04-27 20:57:51Z tv $
- Author:
- John D. McNally, Frank Y. Kim, Henning P. Schmiedehausen, Peter Courcoux
Method Summary |
org.apache.ecs.ConcreteElement |
buildTemplate(PipelineData pipelineData)
Method that sets up beans and forward the request to the JSP. |
org.apache.ecs.ConcreteElement |
buildTemplate(RunData data)
Deprecated. Use PipelineData version instead. |
protected void |
doBuildTemplate(PipelineData pipelineData)
Method to be overidden by subclasses to include data in beans, etc. |
protected void |
doBuildTemplate(RunData data)
Deprecated. Use PipelineData version instead. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseJspScreen
public BaseJspScreen()
buildTemplate
public org.apache.ecs.ConcreteElement buildTemplate(RunData data)
throws Exception
- Deprecated. Use PipelineData version instead.
- Method that sets up beans and forward the request to the JSP.
- Specified by:
buildTemplate
in class TemplateScreen
- Parameters:
data
- Turbine information.
- Returns:
- null - the JSP sends the information.
- Throws:
Exception,
- a generic exception.
Exception
- A generic exception.
buildTemplate
public org.apache.ecs.ConcreteElement buildTemplate(PipelineData pipelineData)
throws Exception
- Method that sets up beans and forward the request to the JSP.
- Overrides:
buildTemplate
in class TemplateScreen
- Parameters:
data
- Turbine information.
- Returns:
- null - the JSP sends the information.
- Throws:
Exception,
- a generic exception.
Exception
- A generic exception.
doBuildTemplate
protected void doBuildTemplate(RunData data)
throws Exception
- Deprecated. Use PipelineData version instead.
- Method to be overidden by subclasses to include data in beans, etc.
- Specified by:
doBuildTemplate
in class TemplateScreen
- Parameters:
data,
- the Rundata object
- Throws:
Exception,
- a generic exception.
Exception
- A generic exception.
doBuildTemplate
protected void doBuildTemplate(PipelineData pipelineData)
throws Exception
- Method to be overidden by subclasses to include data in beans, etc.
- Overrides:
doBuildTemplate
in class TemplateScreen
- Parameters:
data,
- the Rundata object
- Throws:
Exception,
- a generic exception.
Exception
- A generic exception.
Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.