org.apache.struts.chain.servlet
Class ValidateActionForm
java.lang.Object
org.apache.struts.chain.AbstractValidateActionForm
org.apache.struts.chain.servlet.ValidateActionForm
- All Implemented Interfaces:
- org.apache.commons.chain.Command
- public class ValidateActionForm
- extends AbstractValidateActionForm
Validate the properties of the form bean for this request. If there are
any validation errors, execute the child commands in our chain; otherwise,
proceed normally. Also, if any errors are found and the request is a
multipart request, rollback the MultipartRequestHandler
.
- Version:
- $Rev: 54933 $ $Date: 2004-10-16 18:04:52 +0100 (Sat, 16 Oct 2004) $
- Author:
- Craig R. McClanahan, Don Brown
Field Summary |
private static org.apache.commons.logging.Log |
log
|
Method Summary |
protected org.apache.struts.action.ActionErrors |
validate(org.apache.commons.chain.Context context,
org.apache.struts.config.ActionConfig actionConfig,
org.apache.struts.action.ActionForm actionForm)
Call the validate() method of the specified form bean,
and return the resulting ActionErrors object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
ValidateActionForm
public ValidateActionForm()
validate
protected org.apache.struts.action.ActionErrors validate(org.apache.commons.chain.Context context,
org.apache.struts.config.ActionConfig actionConfig,
org.apache.struts.action.ActionForm actionForm)
Call the validate()
method of the specified form bean,
and return the resulting ActionErrors
object.
- Specified by:
validate
in class AbstractValidateActionForm
- Parameters:
context
- The context for this requestactionForm
- The form bean for this requestactionConfig
- The ActionConfig
for this request
Copyright ? 2003 - Apache Software Foundation