Modifier and Type | Required Element and Description |
---|---|
String |
fileNameParameter
Name of the form field used for posting the file name.
|
String |
fileReferenceParameter
Name of the form field used for posting the file reference.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
allowFileNameEditing
Used for Classic UI only
|
boolean |
allowFileReference
Used for Classic UI only
|
boolean |
allowUpload
Used for Classic UI only
|
boolean |
async
Used for Touch UI Coral3 Only
|
boolean |
autoStart
Used for Touch UI Only
|
String |
ddAccept
Used for Classic UI only
|
String[] |
ddGroups
Used for Classic UI only
|
String |
dropZone
Used for Touch UI Only
|
boolean |
hideText
Used for Touch UI Coral3 Only
|
String |
icon
Used for Touch UI Only
|
String |
iconSize
Used for Touch UI Coral3 Only
|
String |
mimeTypes
Used for Classic UI only
|
String |
mimeTypesDescription
Used for Classic UI only
|
boolean |
multiple
Used for Touch UI Only
|
String |
name
Used for Classic UI only
|
String |
size
Used for Touch UI Coral3 Only
|
int |
sizeLimit
Maximum size of a file to be uploaded in Megabytes
|
String |
text
Used for Touch UI Only
|
String |
title
Used for Touch UI Only
|
String[] |
touchUIMimeTypes
Used for Touch UI only
|
String |
uploadUrl
Used for Touch UI Only
|
String |
uploadUrlBuilder
Used for Touch UI Only
|
boolean |
useHtml5
Used for Touch UI Only
|
public abstract String fileNameParameter
public abstract String fileReferenceParameter
public abstract String name
The field's HTML name attribute
public abstract boolean allowFileNameEditing
True if the name of an uploaded file is editable
public abstract boolean allowFileReference
Flag if referencing a file is allowed
public abstract boolean allowUpload
Flag if uploading a file is allowed
public abstract String ddAccept
MIME type definition of files that are allowed for referencing using drag & drop
public abstract String[] ddGroups
Groups involved in drag & drop
public abstract String mimeTypes
MIME types allowed for uploading (each separated by a semicolon; wildcard * is allowed; for example: "*.*" or "*.jpg;*.gif;*.png" (defaults to "*.*".) Also support MIME type syntax; for example (image/jpg or image/*)
public abstract String[] touchUIMimeTypes
The list of mime types allowed for upload. This must be defined uniquely for Touch UI as the ExtJS allows different extension and wild card semantics than the Touch UI variant.
public abstract String mimeTypesDescription
A String that describes the allowed MIME types
public abstract int sizeLimit
public abstract boolean multiple
Indicates that multiple files may be uploaded
public abstract String uploadUrl
URL where to upload the file, you can use ${suffix.path}
public abstract String uploadUrlBuilder
The AEM documentation indicates that this should be an upload URL builder
public abstract boolean autoStart
If true
, upload starts automatically once the file is
selected
public abstract boolean useHtml5
Prefer HTML5 to upload files (if browser allows it)
public abstract String dropZone
Drop zone selector to upload files from file system directly (if browser allows it)
public abstract String title
The title associated with the upload button
public abstract String text
The text of the button
public abstract String icon
The icon of the button
public abstract boolean async
Set true to upload the files asynchronously
public abstract boolean hideText
Visually hide the text. It is RECOMMENDED that every button has a text for a11y purpose. Use this property to hide it visually, while still making it available for a11y.
public abstract String iconSize
The size of the icon - XS, S, M, L
public abstract String size
The size of the button - M, L
Copyright © 2019 ICF Olson. All rights reserved.