org.apache.struts.chain.commands.servlet
Class PopulateActionForm
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractPopulateActionForm
org.apache.struts.chain.commands.servlet.PopulateActionForm
- All Implemented Interfaces:
- org.apache.commons.chain.Command, ActionCommand
public class PopulateActionForm
- extends AbstractPopulateActionForm
Populate the form bean (if any) for this request. Sets the multipart
class from the action config in the request attributes.
- Version:
- $Rev: 471754 $ $Date: 2005-11-12 13:01:44 -0500 (Sat, 12 Nov 2005)
$
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PopulateActionForm
public PopulateActionForm()
populate
protected void populate(ActionContext context,
ActionConfig actionConfig,
ActionForm actionForm)
throws java.lang.Exception
- Description copied from class:
AbstractPopulateActionForm
Populate the given ActionForm
with request parameter
values, taking into account any prefix/suffix values configured on the
given ActionConfig
.
- Specified by:
populate
in class AbstractPopulateActionForm
- Parameters:
context
- The ActionContext we are processingactionConfig
- The ActionConfig we are processingactionForm
- The ActionForm we are processing
- Throws:
java.lang.Exception
- On an unexpected error
reset
protected void reset(ActionContext context,
ActionConfig actionConfig,
ActionForm actionForm)
- Description copied from class:
AbstractPopulateActionForm
Call the reset()
method on the specified form
bean.
- Specified by:
reset
in class AbstractPopulateActionForm
- Parameters:
context
- The context for this requestactionConfig
- The actionConfig for this requestactionForm
- The form bean for this request
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.