Class DragAndDropFileUploadEditor

  • All Implemented Interfaces:
    CockpitEditorRenderer<FileUploadResult>

    public class DragAndDropFileUploadEditor
    extends AbstractDragAndDropFileUploadEditor<FileUploadResult>
    Single file upload editor. Accepted params:
    • accept - specifies the MIME types of files that the server accepts e.g "audio/|video/|image/*"
    • maxsize - defines max file size, if not defined then default system value will be used (property fileUpload.maxSize)
    • singleLineMode - when set to true upload content and preview will be displayed in single line