org.davesag.generica.servlet.form
Class UserRegistrationForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.action.DynaActionForm
org.apache.struts.validator.DynaValidatorForm
org.davesag.generica.servlet.form.UserRegistrationForm
- All Implemented Interfaces:
- DynaBean, Serializable
- public class UserRegistrationForm
- extends DynaValidatorForm
The UserRegistrationForm is used to check the validity of the user
registration data.
- Since:
- Generica 1.0
- Version:
- CVS Revision $Id: UserRegistrationForm.java,v 1.6 2004/03/30 13:00:42 davesag Exp $
- Author:
- Dave Sag
http://www.davesag.com
- See Also:
- Serialized Form
| Methods inherited from class org.apache.struts.action.DynaActionForm |
contains, get, get, get, getDynaClass, getDynaProperty, getMap, initialize, isDynaAssignable, remove, reset, set, set, set, toString |
UserRegistrationForm
public UserRegistrationForm()
validate
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request)
- checks that the password and verifypassword fields match. Note that this
could be better done using the apache validation framework, thus
eliminating the need for this form bean at all.
- Parameters:
mapping - the struts action mapping.request - the http request.
- Returns:
- any action errors.
Dave Sag Generica API version 0.5.9 - (prerelease) Copyright © 2003 - 2004 Dave Sag.