org.apache.jetspeed.modules.actions
Class JspAction

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Action
          extended byorg.apache.turbine.modules.ActionEvent
              extended byorg.apache.jetspeed.modules.actions.JspAction

public abstract class JspAction
extends org.apache.turbine.modules.ActionEvent

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.3 2004/02/23 02:59:06 jford Exp $
Author:
Mark ORciuch

Field Summary
 
Fields inherited from class org.apache.turbine.modules.ActionEvent
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
 
Constructor Summary
JspAction()
           
 
Method Summary
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.modules.ActionEvent
doPerform, 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

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!

Parameters:
data - Turbine information.
Throws:
Exception, - a generic exception.
java.lang.Exception

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.

Parameters:
data - Turbine information.
template - The template that will be executed next.


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