WARNING: This tag has been deprecated. Replace with an Attachments List control
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 Panel also provides the following:
To enable drag-and-drop functionality, implement the Attachments List control.
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.panel.AttachmentsPanel |
Handler Class | com.webmethods.caf.faces.component.DynamicControlHandler |
Renderer Type | None |
Description | Panel for Viewing/Editing the attachments associated with a resource |
Palette Location | CAF Html/Control/Panel/Attachments Panel |
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 |
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". |
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". |
Output generated by Vdldoc View Declaration Language Documentation Generator.