| java.lang.Object org.apache.struts.chain.commands.ActionCommandBase org.apache.struts.chain.commands.AbstractValidateActionForm
All known Subclasses: org.apache.struts.chain.commands.servlet.ValidateActionForm,
AbstractValidateActionForm | abstract public class AbstractValidateActionForm extends ActionCommandBase (Code) | | Validate the properties of the form bean for this request. If there are
any validation errors, execute the specified command; otherwise, proceed
normally.
version: $Rev: 481833 $ $Date: 2005-06-04 10:58:46 -0400 (Sat, 04 Jun 2005) version: $ |
execute | public boolean execute(ActionContext actionCtx) throws Exception(Code) | | 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.
Parameters: actionCtx - The Context for the current request false so that processing continues, if there areno validation errors; otherwise true throws: Exception - if thrown by the Action class |
validate | abstract protected ActionErrors validate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm)(Code) | | Call the validate() method of the specified form bean,
and return the resulting ActionErrors object.
Parameters: context - The context for this request Parameters: actionConfig - The ActionConfig for this request Parameters: actionForm - The form bean for this request ActionErrors object, if any |
|
|