public abstract class WorkflowPrepareAction
extends org.apache.struts.tiles.actions.TilesAction
| Constructor and Description |
|---|
WorkflowPrepareAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.tiles.ComponentContext context,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Starts workflow by taking what is currently stored in the session as returnPath (one of many possible origins of
this workflow), and pushing it onto our workflow stack.
|
abstract org.apache.struts.action.ActionForward |
workflow(org.apache.struts.tiles.ComponentContext context,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
To participate in a workflow, simply implement this the same as you would execute().
|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic final org.apache.struts.action.ActionForward execute(org.apache.struts.tiles.ComponentContext context,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
execute in class org.apache.struts.tiles.actions.TilesActionExceptionpublic abstract org.apache.struts.action.ActionForward workflow(org.apache.struts.tiles.ComponentContext context,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
ExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.