| org.apache.turbine.modules.screens.TemplateScreen org.apache.turbine.modules.screens.BaseJspScreen org.apache.turbine.modules.screens.JspScreen
JspScreen | public class JspScreen extends BaseJspScreen (Code) | | Jsp Screen with support for conext. The buildTemplate() assumes the
template parameter has been set in the RunData object. This provides
the ability to execute several templates from one Screen.
If you need more specific behavior in your application, extend this
class and override the doBuildTemplate() method.
author: Dave Bryson author: Gabriel A. Moreno version: $Id: JspScreen.java 221882 2004-05-20 03:06:52Z seade $ |
Method Summary | |
protected void | doBuildTemplate(RunData data, Context context) Jsp Screens 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 TemplateScreen like us. | public static Context | getContext(RunData data) Return the Context needed which can then be used in the Jsp template
Parameters: data - Turbine information. |
doBuildTemplate | protected void doBuildTemplate(RunData data, Context context) throws Exception(Code) | | Jsp Screens 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. |
doBuildTemplate | protected void doBuildTemplate(RunData data) throws Exception(Code) | | Needs to be implemented to make TemplateScreen 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. |
getContext | public static Context getContext(RunData data)(Code) | | Return the Context needed which can then be used in the Jsp template
Parameters: data - Turbine information. A Context. |
Fields inherited from org.apache.turbine.modules.screens.TemplateScreen | protected Log log(Code)(Java Doc)
|
|
|