major
nice-to-have
defect
major
enhancement
(User-visible)
The application should allow users to upload multiple documents in a single step.
This feature should be enabled in the following locations:
- WebFolder
- GalleryImage
Code Migration
- Updated API ` UploadAware`: ` void receiveFile(BinaryData)`
- New API MultiUploadAware: void receiveFiles(List<BinaryData> files)
- Changed API AbstractUploadHandler: HandlerResult handleUpload(DisplayContext context, LayoutComponent component, DataField dataField); the implementation must retrieve the download data from the field itself.
- New API DataField: List<BinaryData> getDataItems()
- Deprecated API DataField: BinaryData getDataItem(), may now only be called for non-multiple fields.
Test
- Select more than one file when uploading to a web folder.
- Select more than one file when uploading to a gallery.
- /com.top_logic.demo/src/test/com/top_logic/demo/scripted/webfolder/TestMultiUpload.script.xml