org.springframework.webflow.action
Class RenderAction
java.lang.Object
org.springframework.webflow.action.AbstractAction
org.springframework.webflow.action.RenderAction
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, Action
public class RenderAction
- extends AbstractAction
An action that sets a special attribute that views use to render partial views called "fragments", instead of the
entire view.
- Author:
- Keith Donald
|
Constructor Summary |
RenderAction(org.springframework.binding.expression.Expression... fragmentExpressions)
Creates a new render action. |
|
Method Summary |
protected Event |
doExecute(RequestContext context)
Template hook method subclasses should override to encapsulate their specific action execution logic. |
java.lang.String |
toString()
|
| Methods inherited from class org.springframework.webflow.action.AbstractAction |
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RenderAction
public RenderAction(org.springframework.binding.expression.Expression... fragmentExpressions)
- Creates a new render action.
- Parameters:
fragmentExpressions - the set of expressions to resolve the view fragments to render
doExecute
protected Event doExecute(RequestContext context)
throws java.lang.Exception
- Description copied from class:
AbstractAction
- Template hook method subclasses should override to encapsulate their specific action execution logic.
- Specified by:
doExecute in class AbstractAction
- Parameters:
context - the action execution context, for accessing and setting data in "flow scope" or "request scope"
- Returns:
- the action result event
- Throws:
java.lang.Exception - an unrecoverable exception occured, either checked or unchecked
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object