A control that enables the user to view a list of files, and add or remove files from the list. The list of files is referenced by the control's Attachments Provider
property, which must be bound to an instance of com.webmethods.caf.faces.data.attachments.IAttachmentsProvider
.
The Attachments List panel also provides the following:
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.panel.AttachmentsList |
Handler Class | com.webmethods.caf.faces.component.DynamicControlHandler |
Renderer Type | None |
Description | Same as Attachments Panel, but with support for drag and drop upload. |
Palette Location | CAF Html/Control/Panel/Attachments List |
Client-Side Model | CAF.Output.Model |
Name | Required | Type | Description |
---|---|---|---|
acceptContentTypes | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| CSV of mime types that are allowed to be attached |
acceptContentTypesMessage | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Validation Message to display when a file type is not allowed. |
acceptFileExtensions | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| CSV of file extensions that are allowed to be attached |
acceptFileExtensionsMessage | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Validation Message to display when a file extension is not allowed. |
attachmentsProvider | true | javax.el.ValueExpression
(must evaluate to com.webmethods.caf.faces.data.attachments.IAttachmentsProvider )
| ValueBinding expression that resolves to an instance of the IAttachmentProvider interface |
customValidator | false | javax.el.ValueExpression
(must evaluate to javax.faces.validator.Validator )
| A method binding expression for a method that validates the component local value. |
defaultEncoding | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Default encoding for new attachments |
dir | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Specifies the directionality of the flow of the content for the current element
Valid values are:
|
downloadTargetWindow | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
The target window for attachment links
If not specified, the default value is "_self". |
dragNDropAvailable | false | javax.el.ValueExpression
(must evaluate to boolean )
|
Add 'Drag and Drop' support for attachments
If not specified, the default value is "true". |
id | false | java.lang.String | Control identifier |
maxFileSize | false | javax.el.ValueExpression
(must evaluate to java.lang.Long )
| Maximum file size (in bytes) that are allowed to be attached |
maxFileSizeMessage | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Validation Message to display when a file is too large. |
readOnly | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True if control is un-modifiable
If not specified, the default value is "false". |
rendered | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to render control; false to ignore it
If not specified, the default value is "true". |
rows | false | javax.el.ValueExpression
(must evaluate to java.lang.Integer )
|
Number of attachments shown in table per page
If not specified, the default value is "5". |
specifyEncoding | false | javax.el.ValueExpression
(must evaluate to boolean )
|
Specify encoding available
If not specified, the default value is "false". |
useWebDavURLs | false | javax.el.ValueExpression
(must evaluate to boolean )
|
Use WebDav URLs for the links to the attachments
If not specified, the default value is "false". |
Output generated by Vdldoc View Declaration Language Documentation Generator.