| com.ivata.groupware.business.library.struts.UploadHTMLForm
UploadHTMLForm | public class UploadHTMLForm extends DialogForm (Code) | | This form is used to upload a HTML file straight to pages of an editer library documentr.
since: 2003-07-02 author: Peter Illes version: $Revision: 1.3 $ |
Method Summary | |
protected void | clear() | final public Class | getBaseClass()
Defines the base class of all objects in the value object list. | public FormFile | getFile() | final public Mask | getMask()
Mask containing all the field definitions for this list. | public void | setFile(FormFile file) | public ActionErrors | validate(ActionMapping mapping, HttpServletRequest request) Validate the properties that have been set for this HTTP request,
and return an ActionMessages object that encapsulates any
validation errors that have been found. | public ValidationErrors | validate(HttpServletRequest request, HttpSession session) |
clear | protected void clear()(Code) | | See Also: com.ivata.mask.web.struts.MaskForm.clear |
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. |
getFile | public FormFile getFile()(Code) | | getter for the file field
the uploaded file as FormFile |
getMask | final public Mask getMask()(Code) | |
Mask containing all the field definitions for this list.
mask containing all the field definitions for this list. |
setFile | public void setFile(FormFile file)(Code) | | setter for the file field
Parameters: file - the uploaded file as FormFile |
validate | public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)(Code) | | Validate the properties that have been set for this HTTP request,
and return an ActionMessages object that encapsulates any
validation errors that have been found. If no errors are found,
return null or an ActionMessages object with
no recorded error messages.
The default implementation performs no validation and returns
null . Subclasses must override this method to provide
any validation they wish to perform.
Parameters: mapping - The mapping used to select this instance Parameters: request - The servlet request we are processing |
|
|