primefaces-p

Tag fileUpload

Component Information 
InfoValue
Component Typeorg.primefaces.component.FileUpload
Handler Classorg.primefaces.component.fileupload.FileUploadHandler
Renderer Typeorg.primefaces.component.FileUploadRenderer
DescriptionNone
Attributes 
NameRequiredTypeDescription
idfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Unique identifier of the component in a namingContainer.
renderedfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Boolean value to specify the rendering of the component, when set to false component will not be rendered.
bindingfalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
An el expression referring to a server side UIComponent instance in a backing bean.
valuefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Value of the component.
converterfalsejavax.el.ValueExpression
(must evaluate to java.faces.convert.Converter)
An el expression or a literal text that defines a converter for the component. When it's an EL expression, it's resolved to a converter instance. In case it's a static text, it must refer to a converter id.
immediatefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
When set true, process validations logic is executed at apply request values phase for this component. Default is false.
requiredfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Marks component as required.
validatorfalsejavax.el.ValueExpression
(must evaluate to javax.faces.validator.Validator)
A method expression referring to a method validationg the input.
valueChangeListenerfalsejavax.el.ValueExpression
(must evaluate to javax.faces.event.ValueChangeListener)
A method binding expression referring to a method for handling a valuchangeevent.
requiredMessagefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Message to display when required field validation fails.
converterMessagefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Message to display when conversion fails.
validatorMessagefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Message to display when validation fails.
widgetVarfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Name of the client side widget.
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Inline style of the main component.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Style class of the component.
updatefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Component(s) to be updated after fileupload completes.
processfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Component(s) to be processed during fileupload request.
fileUploadListenerfalsejavax.el.ValueExpression
(must evaluate to javax.el.MethodExpression)
Method expression to listen file upload events.
multiplefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Allows choosing of multi file uploads from native file browse dialog, turned off by default.
autofalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
When set to true, selecting a file starts the upload process implicitly. Default is false.
labelfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Label of the browse button, default is 'Choose'.
allowTypesfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Regular expression for accepted file types, e.g. /(\.|\/)(gif|jpe?g|png)$/
fileLimitfalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
Maximum number of files to be uploaded.
sizeLimitfalsejavax.el.ValueExpression
(must evaluate to java.lang.Long)
Individual file size limit in bytes. Default is unlimited.
modefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Mode of the uploader, valid values are "simple" and "advanced".
uploadLabelfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Label of the upload button, default is 'Upload'.
cancelLabelfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Label of the cancel button, default is 'Cancel'.
invalidSizeMessagefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Message to display when file size validation fails.
invalidFileMessagefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Message to display when file limit validation fails.
fileLimitMessagefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Message to display when file count validation fails.
dragDropSupportfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Specifies dragdrop based file selection from filesystem, default is true and works only on supported browsers.
onstartfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Callback to execute at the beginning of fileupload.
oncompletefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Callback to execute after fileupload request completes.
onerrorfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Callback to execute after fileupload request fails.
disabledfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Disables fileupload user interface interaction.
messageTemplatefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Message template to use when displaying file validation errors. Default is "{name} {size}".
previewWidthfalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
Width for image previews in pixels. Default value is 80.
skinSimplefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Applies theming to simple uploader, default is false.
acceptfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
To filter files in native file browser dialog.
sequentialfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Uploads are concurrent by default set this option to true for sequential uploads.

Output generated by Vdldoc View Declaration Language Documentation Generator.