Class UIWidgetFileUpload
java.lang.Object
com.orchestranetworks.ui.form.widget.UICustomWidget
com.orchestranetworks.ui.form.widget.UISimpleCustomWidget
com.orchestranetworks.ui.form.widget.UIWidgetFileUpload
- All Implemented Interfaces:
UIWidget
Widget for an upload file field.
Currently this widget can only be used with dynamic beans. The current node must be of type BeanDefinition.OSD_FILE_UPLOAD.
- Since:
- 5.8.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This attribute specifies a default filter for file names.void
validate
(WidgetValidationContext aValidationContext) Validates the widget.void
write
(WidgetWriter aWriter, WidgetDisplayContext aContext) Displays the widget.Methods inherited from class com.orchestranetworks.ui.form.widget.UICustomWidget
isDisplayingCustomWidgetValidationMessage, isEditorDisabled, setEditorDisabled
-
Field Details
-
KEY_PARAMETER_NAME_SUFFIX
- See Also:
-
KEY_SET_ATTRIBUTE_NAME
-
-
Constructor Details
-
UIWidgetFileUpload
Constructor.
-
-
Method Details
-
setAccept
This attribute specifies a default filter for file names.For details on format, please refer to HTML <input> accept attribute specifications.
-
write
Displays the widget.- Specified by:
write
in classUISimpleCustomWidget
-
validate
Validates the widget.- Overrides:
validate
in classUISimpleCustomWidget
-