org.apache.jetspeed.modules.actions.portlets
Class HelloAction
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.jetspeed.modules.actions.portlets.PortletActionEvent
org.apache.jetspeed.modules.actions.portlets.PortletAction
org.apache.jetspeed.modules.actions.portlets.GenericMVCAction
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction
org.apache.jetspeed.modules.actions.portlets.HelloAction
- public class HelloAction
- extends VelocityPortletAction
An abstract action class to build VelocityPortlet actions.
Don't call it from the URL, the Portlet and the Action are automatically
associated through the registry PortletName
- Author:
- Raphaël Luta
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Method Summary |
protected void |
buildConfigureContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Subclasses should override this method if they wish to
provide their own customization behavior. |
protected void |
buildMaximizedContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Subclasses should override this method if they wish to
build specific content when maximized. |
protected void |
buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Subclasses must override this method to provide default behavior
for the portlet action |
void |
doUpdate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
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 |
HelloAction
public HelloAction()
buildMaximizedContext
protected void buildMaximizedContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Subclasses should override this method if they wish to
build specific content when maximized. Default behavior is
to do the same as normal content.
- Overrides:
buildMaximizedContext
in class VelocityPortletAction
buildConfigureContext
protected void buildConfigureContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Subclasses should override this method if they wish to
provide their own customization behavior.
Default is to use Portal base customizer action
- Overrides:
buildConfigureContext
in class VelocityPortletAction
buildNormalContext
protected void buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Subclasses must override this method to provide default behavior
for the portlet action
- Specified by:
buildNormalContext
in class VelocityPortletAction
doUpdate
public void doUpdate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.