| hero.struts.forms.UserForm
UserForm | final public class UserForm extends ActionForm (Code) | | Form bean for the BnUser. This form has the following fields,
with default values in square brackets:
- name - The name of the user. [REQUIRED]
- password - The password for this user. [REQUIRED]
- email - The email [REQUIRED]
author: Miguel Valdes Faura version: $Revision: 1.1 $ $Date: 2004/07/30 14:57:57 $ |
getJabber | public String getJabber()(Code) | | Return the jabber address
|
getPassword | public String getPassword()(Code) | | Return the password
|
reset | public void reset(ActionMapping mapping, HttpServletRequest request)(Code) | | Reset all properties to their default values.
Parameters: mapping - The mapping used to select this instance Parameters: request - The servlet request we are processing |
setEmail | public void setEmail(String email)(Code) | | Set the email
|
setJabber | public void setJabber(String jabber)(Code) | | Set the jabber address
|
setPassword | public void setPassword(String password)(Code) | | Set the password
|
validate | public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)(Code) | | Validate the properties that have been set from this HTTP request,
and return an ActionErrors object that encapsulates any
validation errors that have been found. If no errors are found, return
null or an ActionErrors object with no
recorded error messages.
Parameters: mapping - The mapping used to select this instance Parameters: request - The servlet request we are processing |
|
|