The <rich:fileUpload> component designed to perform Ajax-ed files upload to server.
Table 6.189. rich : fileUpload attributes
Attribute Name | Description |
---|---|
acceptedTypes | Files types allowed to upload |
accesskey | This attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey |
addButtonClass | CSS style for add button |
addButtonClassDisabled | CSS style for add button disabled |
addControlLabel | ${prop.xmlEncodedDescription} |
align | left|center|right|justify [CI] Deprecated. This attribute specifies the horizontal alignment of its element with respect to the surrounding context. Possible values: * left: text lines are rendered flush left. * center: text lines are centered. * right: text lines are rendered flush right. * justify: text lines are justified to both margins. The default depends on the base text direction. For left to right text, the default is align=left, while for right to left text, the default is align=right |
alt | For a user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute |
autoclear | If this attribute is true files will be immediatelly removed from list after upload completed |
binding | The attribute takes a value-binding expression for a component property of a backing bean |
cancelButtonClass | CSS style for cancel button |
cancelButtonClassDisabled | CSS style for cancel button disabled |
cancelEntryControlLabel | ${prop.xmlEncodedDescription} |
cleanButtonClass | CSS style for clean button |
cleanButtonClassDisabled | CSS style for clean button disabled |
clearAllControlLabel | ${prop.xmlEncodedDescription} |
clearControlLabel | ${prop.xmlEncodedDescription} |
contentType | the property to receive the contentType |
converter | Id of Converter to be used or reference to a Converter |
converterMessage | converterMessage |
disabled | Disabled attribute |
fileEntryClass | CSS style upload file entry |
fileEntryClassDisabled | CSS style upload file entry disabled |
fileEntryControlClass | CSS style for upload enrty control |
fileEntryControlClassDisabled | CSS style for upload enrty control disabled |
fileName | this value binding receives the filename (optional). |
fileSize | this value binding receives the file size (optional). |
fileUploadListener | MethodExpression representing an action listener method that will be notified after file uploaded. |
id | Every component may have a unique id that is automatically created if omitted |
immediate | A flag indicating that this component value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until a Process Validations phase |
listHeight | Defines height of file list |
listWidth | Defines width of file list |
localContentType | localContentType |
locale | locale |
localFileName | localFileName |
localFileSize | localFileSize |
localInputStream | localInputStream |
localValueSet | localValueSet |
maxFilesQuantity | Defines max files count allowed for upload (optional). |
maxlength | When the type attribute has the value "text" or "password", this attribute specifies the maximum number of characters you may enter. This number may exceed the specified size, in which case the user agent should offer a scrolling mechanism. The default value for this attribute is an unlimited number |
onblur | HTML: script expression; the element lost the focus |
onchange | HTML: script expression; the element value was changed |
onclick | HTML: a script expression; a pointer button is clicked |
ondblclick | HTML: a script expression; a pointer button is double-clicked |
onerror | ${prop.xmlEncodedDescription} |
onfocus | HTML: script expression; the element got the focus |
onkeydown | HTML: a script expression; a key is pressed down |
onkeypress | HTML: a script expression; a key is pressed and released |
onkeyup | HTML: a script expression; a key is released |
onmousedown | HTML: script expression; a pointer button is pressed down |
onmousemove | HTML: a script expression; a pointer is moved within |
onmouseout | HTML: a script expression; a pointer is moved away |
onmouseover | HTML: a script expression; a pointer is moved onto |
onmouseup | HTML: script expression; a pointer button is released |
onselect | HTML: script expression; The onselect event occurs when you select some text in a text field. This attribute may be used with the INPUT and TEXTAREA elements |
onupload | ${prop.xmlEncodedDescription} |
onuploadcanceled | ${prop.xmlEncodedDescription} |
onuploadcomplete | ${prop.xmlEncodedDescription} |
progressInfo | Defines bean name where progress info should be stored (optional). |
rendered | If "false", this component is not rendered |
required | If "true", this component is checked for non-empty input |
requiredMessage | requiredMessage |
size | This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters |
stopControlLabel | ${prop.xmlEncodedDescription} |
stopEntryControlLabel | ${prop.xmlEncodedDescription} |
style | CSS style(s) is/are to be applied when this component is rendered |
styleClass | Corresponds to the HTML class attribute |
tabindex | This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros |
uploadButtonClass | CSS style for upload button |
uploadButtonClassDisabled | CSS style for upload button disabled |
uploadControlLabel | ${prop.xmlEncodedDescription} |
uploadData | Collection of files uploaded |
uploadListClass | CSS style for upload list |
uploadListClassDisabled | CSS style for upload list disabled |
valid | valid |
validator | MethodBinding pointing at a method that is called during Process Validations phase of the request processing lifecycle, to validate the current value of this component |
validatorMessage | validatorMessage |
value | The initial value to set when rendered for the first time |
valueChangeListener | Listener for value changes |