| com.ivata.mask.web.struts.DialogForm com.ivata.mask.web.struts.MaskForm
All known Subclasses: com.ivata.mask.web.struts.InputMaskForm, com.ivata.mask.web.struts.ListForm,
MaskForm | abstract public class MaskForm extends DialogForm (Code) | |
This form is the base class of all forms containing mask information.
since: ivata masks 0.1.1 (2005-05-16) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.12 $ |
Constructor Summary | |
protected | MaskForm(Mask maskParam, Class baseClassParam)
Construct an instance of this class. |
Method Summary | |
protected void | clear() | final public Class | getBaseClass()
Defines the base class of all objects in the value object list. | final public Mask | getMask()
Mask containing all the field definitions for this list. | public String | getResourceFieldPath()
The resource field path is the "stem" - the first string before
the dot separator (.) - in the application resources for the fields in
this form. | public void | setResourceFieldPath(String resourceFieldPathParam) | public ValidationErrors | validate(HttpServletRequest requestParam, HttpSession sessionParam) This method overridden to retrieve errors from the request processor.
This will allocate any errors which occurred as the form was set.
Parameters: requestParam - Parameters: sessionParam - errors from the super class, with errors from the request(if any). |
MaskForm | protected MaskForm(Mask maskParam, Class baseClassParam)(Code) | |
Construct an instance of this class.
Parameters: maskParam - mask associated with this form. Parameters: baseClassParam - base class of all value objects in this form. |
getBaseClass | final public Class getBaseClass()(Code) | |
Defines the base class of all objects in the value object list.
base class of all objects in the value object list. |
getMask | final public Mask getMask()(Code) | |
Mask containing all the field definitions for this list.
mask containing all the field definitions for this list. |
getResourceFieldPath | public String getResourceFieldPath()(Code) | |
The resource field path is the "stem" - the first string before
the dot separator (.) - in the application resources for the fields in
this form.
For example, in a form for editing group information this might be simply
"group", and the message resource key for the group
parent field would then be specified in the
ApplicationResources.properties file as
"group.field.parent" (without the quotes).
Returns the path to application resources for this form. |
validate | public ValidationErrors validate(HttpServletRequest requestParam, HttpSession sessionParam)(Code) | | This method overridden to retrieve errors from the request processor.
This will allocate any errors which occurred as the form was set.
Parameters: requestParam - Parameters: sessionParam - errors from the super class, with errors from the request(if any). Never returns null . |
|
|