|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.AbstractPopulateActionForm
com.oroad.stxx.chain.legacy.PopulateActionForm
Populate the form bean (if any) for this request.
Constructor Summary | |
PopulateActionForm()
|
Method Summary | |
java.lang.String |
getRequestProcessorHelperKey()
Return the context attribute key under which the RequestProcessorHelper for the currently selected application
action is stored. |
protected void |
populate(org.apache.commons.chain.Context context,
org.apache.struts.config.ActionConfig actionConfig,
org.apache.struts.action.ActionForm actionForm)
Base implementation assumes that the Context
can be cast to WebContext and copies the parameter
values from the context to the ActionForm . |
protected void |
reset(org.apache.commons.chain.Context context,
org.apache.struts.config.ActionConfig actionConfig,
org.apache.struts.action.ActionForm actionForm)
|
void |
setRequestProcessorHelperKey(java.lang.String requestProcessorHelperKey)
Set the context attribute key under which the RequestProcessorHelper for the currently selected application
action is stored. |
Methods inherited from class org.apache.struts.chain.AbstractPopulateActionForm |
execute, getActionConfigKey, getActionFormKey, getCancelKey, handleCancel, setActionConfigKey, setActionFormKey, setCancelKey |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.chain.Command |
execute |
Constructor Detail |
public PopulateActionForm()
Method Detail |
public java.lang.String getRequestProcessorHelperKey()
Return the context attribute key under which the
RequestProcessorHelper
for the currently selected application
action is stored.
public void setRequestProcessorHelperKey(java.lang.String requestProcessorHelperKey)
Set the context attribute key under which the
RequestProcessorHelper
for the currently selected application
action is stored.
requestProcessorHelperKey
- The new context attribute keyprotected void populate(org.apache.commons.chain.Context context, org.apache.struts.config.ActionConfig actionConfig, org.apache.struts.action.ActionForm actionForm) throws java.lang.Exception
Base implementation assumes that the Context
can be cast to WebContext
and copies the parameter
values from the context to the ActionForm
.
Note that this implementation does not handle "file uploads"
because as far as I know there is no API for handling that without
committing to servlets -- in a servlet environment, use
org.apache.struts.chain.servlet.PopulateActionForm
.
context
- actionConfig
- actionForm
-
java.lang.Exception
protected void reset(org.apache.commons.chain.Context context, org.apache.struts.config.ActionConfig actionConfig, org.apache.struts.action.ActionForm actionForm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |