org.appfuse.webapp.form
Class BaseForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
org.appfuse.webapp.form.BaseForm
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- UploadForm, org.appfuse.webapp.form.UserForm
- public class BaseForm
- extends ValidatorForm
- implements Serializable
Base ActionForm bean. An ActionForm bean serves as an adapter to make data
entered into an HTML available to the rest of a Web application, usually by
transferring data to an internal object that uses native types and
implements a business logic interface.
- Version:
- $Revision: 1.5 $ $Date: 2004/03/31 13:04:28 $
- Author:
- Matt Raible
- See Also:
- Serialized Form
BaseForm
public BaseForm()
toString
public String toString()
validate
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request)
- This validation method is designed to be a parent of all other Form's
validate methods - this allows the cancel and delete buttons to bypass
validation.
- Parameters:
mapping - The ActionMapping used to select this
instancerequest - The servlet request we are processing
- Returns:
ActionErrors object that encapsulates any
validation errors
Copyright © 2002-2004