|
|||||||||
| Home >> All >> org >> apache >> turbine >> modules >> [ actions overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.turbine.modules.actions
Class JspAction

java.lang.Objectorg.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.turbine.util.jsp.JspActionEvent
org.apache.turbine.modules.actions.JspAction
- public abstract class JspAction
- extends org.apache.turbine.util.jsp.JspActionEvent
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.
- Version:
- $Id: JspAction.java,v 1.1 2003/08/26 09:09:56 henning Exp $
| Field Summary |
| Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, log, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
| Constructor Summary | |
JspAction()
|
|
| Method Summary | |
void |
doPerform(org.apache.turbine.util.RunData data)
You SHOULD NOT override this method and implement it in your action. |
abstract void |
doPerform(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
You SHOULD override this method and implement it in your action. |
protected org.apache.velocity.context.Context |
getContext(org.apache.turbine.util.RunData data)
Return the Context needed by Jsp. |
protected void |
perform(org.apache.turbine.util.RunData data)
Sets up the context and then calls super.perform(); thus, subclasses don't have to worry about getting a context themselves! |
void |
setTemplate(org.apache.turbine.util.RunData data,
java.lang.String template)
This method is used when you want to short circuit an Action and change the template that will be executed next. |
| Methods inherited from class org.apache.turbine.util.jsp.JspActionEvent |
executeEvents |
| Methods inherited from class org.apache.turbine.modules.ActionEvent |
considerKey, executeEvents, formatString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
JspAction
public JspAction()
| Method Detail |
doPerform
public void doPerform(org.apache.turbine.util.RunData data) throws java.lang.Exception
- You SHOULD NOT override this method and implement it in your
action.
doPerform
public abstract void doPerform(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context) throws java.lang.Exception
- You SHOULD override this method and implement it in your
action.
perform
protected void perform(org.apache.turbine.util.RunData data) throws java.lang.Exception
- Sets up the context and then calls super.perform(); thus,
subclasses don't have to worry about getting a context
themselves!
setTemplate
public void setTemplate(org.apache.turbine.util.RunData data, java.lang.String template)
- This method is used when you want to short circuit an Action
and change the template that will be executed next.
getContext
protected org.apache.velocity.context.Context getContext(org.apache.turbine.util.RunData data)
- Return the Context needed by Jsp.
|
|||||||||
| Home >> All >> org >> apache >> turbine >> modules >> [ actions overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC