| org.apache.turbine.util.jsp.JspActionEvent org.apache.turbine.modules.actions.JspAction
JspAction | abstract public class JspAction extends JspActionEvent (Code) | | This class provides a convenience methods for Jsp Actions
to use. Since this class is abstract, it should only be extended
and not used directly.
author: Jon S. Stevens author: Jason van Zyl author: Gabriel A. Moreno version: $Id: JspAction.java 221882 2004-05-20 03:06:52Z seade $ |
Method Summary | |
public void | doPerform(RunData data) You SHOULD NOT override this method and implement it in your
action. | abstract public void | doPerform(RunData data, Context context) You SHOULD override this method and implement it in your
action. | protected Context | getContext(RunData data) Return the Context needed by Jsp. | protected void | perform(RunData data) | public void | setTemplate(RunData data, String template) This method is used when you want to short circuit an Action
and change the template that will be executed next. |
doPerform | public void doPerform(RunData data) throws Exception(Code) | | You SHOULD NOT override this method and implement it in your
action.
Parameters: data - Turbine information. exception: Exception - , a generic exception. |
doPerform | abstract public void doPerform(RunData data, Context context) throws Exception(Code) | | You SHOULD override this method and implement it in your
action.
Parameters: data - Turbine information. Parameters: context - Context for web pages. exception: Exception - , a generic exception. |
getContext | protected Context getContext(RunData data)(Code) | | Return the Context needed by Jsp.
Parameters: RunData - data Context, a context for web pages. |
perform | protected void perform(RunData data) throws Exception(Code) | | Sets up the context and then calls super.perform(); thus,
subclasses don't have to worry about getting a context
themselves!
Parameters: data - Turbine information. exception: Exception - , a generic exception. |
setTemplate | public void setTemplate(RunData data, String template)(Code) | | This method is used when you want to short circuit an Action
and change the template that will be executed next.
Parameters: data - Turbine information. Parameters: template - The template that will be executed next. |
|
|