org.davesag.generica.servlet.form
Class PasswordHelperForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.apache.struts.action.DynaActionForm
          extended byorg.apache.struts.validator.DynaValidatorForm
              extended byorg.davesag.generica.servlet.form.PasswordHelperForm
All Implemented Interfaces:
DynaBean, Serializable

public class PasswordHelperForm
extends DynaValidatorForm

The PasswordHelperForm prepopulates the username if it exists in the request.

Since:
Generica 1.0
Version:
CVS Revision $Id: PasswordHelperForm.java,v 1.4 2004/03/30 10:12:58 norm Exp $
Author:
Dave Sag http://www.davesag.com
See Also:
Serialized Form

Field Summary
protected  User theUser
           
 
Fields inherited from class org.apache.struts.validator.DynaValidatorForm
page, validatorResults
 
Fields inherited from class org.apache.struts.action.DynaActionForm
dynaClass, dynaValues
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
PasswordHelperForm()
           
 
Method Summary
 void reset(ActionMapping map, HttpServletRequest request)
          resets the username as a convenience for the user if the user bean is lurking in the request.
 
Methods inherited from class org.apache.struts.validator.DynaValidatorForm
getPage, getResultValueMap, getValidatorResults, log, log, setPage, setValidatorResults, validate
 
Methods inherited from class org.apache.struts.action.DynaActionForm
contains, get, get, get, getDynaClass, getDynaProperty, getMap, initialize, isDynaAssignable, remove, reset, set, set, set, toString
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.beanutils.DynaBean
contains, get, get, get, getDynaClass, remove, set, set, set
 

Field Detail

theUser

protected User theUser
Constructor Detail

PasswordHelperForm

public PasswordHelperForm()
Method Detail

reset

public void reset(ActionMapping map,
                  HttpServletRequest request)
resets the username as a convenience for the user if the user bean is lurking in the request.

Parameters:
map - - unused by this method.
request - - used to access the application context to get the default timespan.


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.