public class WizardStep
extends java.lang.Object
| Constructor and Description |
|---|
WizardStep() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNext()
Name of the next step
|
java.lang.String |
getPrevious()
Name of the previous step
|
java.lang.reflect.Method |
getWizardMethod()
Method to invoke for this step
|
org.apache.struts.action.ActionForward |
invoke(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
RequestContext ctx,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.action.Action target)
Invoke the corresponding Java method for this step
|
void |
setNext(java.lang.String nextStep)
Name of the next step
|
void |
setPrevious(java.lang.String prev)
Name of the previous step
|
void |
setWizardMethod(java.lang.reflect.Method method)
Method to invoke for this step
The method must have the following signature
ActionForward runFirst(ActionMapping mapping, DynaActionForm form,
RequestContext ctx, HttpServletResponse response,
WizardStep step) throws Exception
|
public void setPrevious(java.lang.String prev)
prev - previous step namepublic java.lang.String getPrevious()
public void setNext(java.lang.String nextStep)
nextStep - next step namepublic java.lang.String getNext()
public void setWizardMethod(java.lang.reflect.Method method)
ActionForward runFirst(ActionMapping mapping, DynaActionForm form,
RequestContext ctx, HttpServletResponse response,
WizardStep step) throws Exception
method - method to invoke for this steppublic java.lang.reflect.Method getWizardMethod()
public final org.apache.struts.action.ActionForward invoke(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
RequestContext ctx,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.action.Action target)
throws java.lang.Exception
mapping - from current requestform - from current requestctx - from current requestresponse - from current requesttarget - enclosing Struts actionjava.lang.Exception - something bad happened hopefully handled upstream