Improvements #10382
Allow different upload mechanism for WFileDropWidget
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/19/2022
Due date:
% Done:
0%
Estimated time:
Description
To allow to use a custom upload mechanism in WFileDropWidget (tus), we need a couple of modifications. Changes are minimal, mostly these allow for some overrides/redefinitions.
In WFileDropWidget.js:
- Allow for override of
requestsend
signal (dropwidget.emitRequestSend()
) - Allow for override of
dropwidget.getSendFn
callback (dropwidget.getSendFn()
) - Add parameters to
actualSend
andworkerSend
to allow definition from another context
In WFileDropWidget.C:
- Allow custom creation of an upload resource in
WFileDropWidget::handleSendRequest()
and make it accessible
Files
No data to display