|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.turbine.modules.Assembler
|
+--org.apache.turbine.modules.Action
|
+--org.apache.turbine.modules.ActionEvent
|
+--org.apache.turbine.util.webmacro.WebMacroActionEvent
|
+--org.apache.turbine.modules.actions.WebMacroSiteAction
This class provides a convenience methods for WebMacroSite Actions to use. Since this class is abstract, it should only be extended and not used directly.
| Field Summary |
| Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
| Constructor Summary | |
WebMacroSiteAction()
Deprecated. |
|
| Method Summary | |
void |
doPerform(RunData data)
Deprecated. You SHOULD NOT override this method and implement it in your action. |
abstract void |
doPerform(RunData data,
org.webmacro.servlet.WebContext context)
Deprecated. You SHOULD override this method and implement it in your action. |
protected org.webmacro.servlet.WebContext |
getContext(RunData data)
Deprecated. Return the WebContext needed by WebMacro. |
protected void |
perform(RunData data)
Deprecated. Sets up the context and then calls super.perform(); thus, subclasses don't have to worry about getting a context themselves! |
void |
setTemplate(RunData data,
java.lang.String template)
Deprecated. 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.webmacro.WebMacroActionEvent |
executeEvents |
| Methods inherited from class org.apache.turbine.modules.ActionEvent |
executeEvents, formatString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WebMacroSiteAction()
| Method Detail |
public void doPerform(RunData data)
throws java.lang.Exception
doPerform in class WebMacroActionEventdata - Turbine information.
Exception, - a generic exception.
java.lang.Exception
public abstract void doPerform(RunData data,
org.webmacro.servlet.WebContext context)
throws java.lang.Exception
data - Turbine information.context - Context for web pages.
Exception, - a generic exception.
java.lang.Exception
protected void perform(RunData data)
throws java.lang.Exception
perform in class WebMacroActionEventdata - Turbine information.
Exception, - a generic exception.
java.lang.Exception
public void setTemplate(RunData data,
java.lang.String template)
data - Turbine information.template - The template that will be executed next.protected org.webmacro.servlet.WebContext getContext(RunData data)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||