|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pajes.html.Tag
org.pajes.html.TraversableElement
org.pajes.html.Container
org.pajes.html.Form
org.pajes.html.FileUploadForm
Container class for form elements that include a file upload component.
| Field Summary | |
static java.lang.String |
ENCTYPE
The "multipart/form-data" encoding type. |
| Fields inherited from class org.pajes.html.Tag |
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
FileUploadForm()
Creates an empty form. |
|
FileUploadForm(java.lang.String formName)
Creates a form with the specified name. |
|
FileUploadForm(java.lang.String formName,
java.lang.String actionURL)
Creates a form with the specified name and a specified action URL. |
|
FileUploadForm(java.lang.String formName,
java.lang.String actionURL,
java.lang.String targetFrame)
Creates a form with the specified name and an action URL to be directed to a specified frame. |
|
| Method Summary | |
Form |
setAcceptableMimeTypes(java.lang.String mimeTypes)
Specifies one or more MIME types for allowable files to be uploaded to the server. |
| Methods inherited from class org.pajes.html.Form |
add, clone, getActionURL, getName, getOnChangeFlagName, getValidationFunctionName, initAttributes, setActionURL, setAttribute, setFormName, setMimeType, setOnResetHandler, setOnSubmitHandler, setTargetFrame, setUseGetMethod, setUsePostMethod, writeContent |
| Methods inherited from class org.pajes.html.Container |
add, add, add, addContent, clear, delete, delete, destroy, get, getContent, getContents, getPosition, insert, replace, set, setContent, setContent, size |
| Methods inherited from class org.pajes.html.TraversableElement |
dump, dump, getAll, getFieldByName, getFirstFieldByName, getFirstTagByAttribute, getFirstTagByClass, getFirstTagByID, getFirstTagByName, getTagByAttribute, getTagByClass, getTagByID, getTagByName, setWritable |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String ENCTYPE
| Constructor Detail |
public FileUploadForm()
public FileUploadForm(java.lang.String formName)
formName - the name of the form.
public FileUploadForm(java.lang.String formName,
java.lang.String actionURL)
formName - the name of the form.actionURL - the URL to process the form contents.
public FileUploadForm(java.lang.String formName,
java.lang.String actionURL,
java.lang.String targetFrame)
formName - the name of the form.actionURL - the URL to process the form contents.targetFrame - the name of the frame to receive the result document.| Method Detail |
public Form setAcceptableMimeTypes(java.lang.String mimeTypes)
mimeTypes - the allowed MIME types to be used to set the encoding
of the form when it is submitted.
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||