Major
Nice to have
Bugfix
Major
Enhancement
(User-visible)
In the application it should be possible to upload multiple documents in one step.
This function is to be activated in the following places:
- WebFolder
- GalleryImage
Code migration
- Changed 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 get the download from the field itself.
- New API DataField: List<BinaryData> getDataItems()
- Detached API DataField: BinaryData getDataItem(), may only be called for non-multiple fields.
Test
- Select more than one file when uploading to a webfolder.
- 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