public final class DataActionContext extends LifecycleContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SUCCESS_FORWARD
Deprecated.
Name of the special forward used to combine a DataAction with a web page.
|
EVENT_METHOD_PREFIX, EVENT_PREFIX
Constructor and Description |
---|
DataActionContext()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionErrors |
getActionErrors()
Deprecated.
Retrieve the ActionErrors from the context.
|
org.apache.struts.action.ActionForm |
getActionForm()
Deprecated.
Retrieve the ActionForm from the context.
|
org.apache.struts.action.ActionForward |
getActionForward()
Deprecated.
Retrieve the ActionForward from the context.
|
DataActionMapping |
getActionMapping()
Deprecated.
Retrieve the DataActionMapping from the context.
|
java.lang.String |
getModelReference()
Deprecated.
Retrieve the modelReference from the action mapping.
|
void |
initialize(Lifecycle lifeCycle,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
Initialize the context with the DataAction parameters.
|
void |
setActionErrors(org.apache.struts.action.ActionErrors errors)
Deprecated.
Store the ActionErrors in the context
|
void |
setActionForm(org.apache.struts.action.ActionForm form)
Deprecated.
Store the ActionForm in the context.
|
void |
setActionForward(org.apache.struts.action.ActionForward forward)
Deprecated.
Store the ActionForward in the context.
|
void |
setActionForward(java.lang.String forwardName)
Deprecated.
Store the ActionForward in the context using the name of forward.
|
void |
setActionMapping(DataActionMapping mapping)
Deprecated.
Store the DataActionMapping in the context.
|
addControlActionBinding, addEvent, getBindingContainer, getBindingContext, getControlActionBindings, getCustomMethod, getEventActionBinding, getEventPrefix, getEvents, getForwardPath, getHttpServletRequest, getHttpServletResponse, getLifecycle, getRedirect, initialize, initialize, setBindingContainer, setBindingContext, setCustomMethod, setEventActionBinding, setEventPrefix, setForwardPath, setHttpServletRequest, setHttpServletResponse, setLifecycle, setModelReference, setRedirect
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
public static final java.lang.String SUCCESS_FORWARD
public void initialize(Lifecycle lifeCycle, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
lifeCycle
- mapping
- DataAction ActionMappingform
- DataAction ActionFormrequest
- DataAction HttpServletRequestresponse
- DataAction HttpServletResponsepublic void setActionMapping(DataActionMapping mapping)
mapping
- public DataActionMapping getActionMapping()
public void setActionForm(org.apache.struts.action.ActionForm form)
form
- public org.apache.struts.action.ActionForm getActionForm()
public void setActionForward(org.apache.struts.action.ActionForward forward)
This is the ActionForward that will be returned by the DataAction execute method.
forward
- public void setActionForward(java.lang.String forwardName)
findForward(forwardName)
This is the ActionForward that will be returned by the DataAction execute method. Utility method to set the action forward by name
public org.apache.struts.action.ActionForward getActionForward()
public void setActionErrors(org.apache.struts.action.ActionErrors errors)
errors
- public org.apache.struts.action.ActionErrors getActionErrors()
public java.lang.String getModelReference()
getModelReference
in class LifecycleContext