Create a .zip with several FileUpload Primefaces

0

I need to have several Drag and Drop and in the end create a .zip with all the files that are loaded in them.

How can I perform this action since the listener fileUploadListener="# {fileUploadView.handleFileUpload}" is used in each one with its respective button, I need a single button and that picks up all of them to create the tablet afterwards

I know that in one I can upload several files, but it's not what I'm looking for, I need several Drag and Drop

in advance thanks

    
asked by Chriz CR 12.08.2017 в 01:09
source

1 answer

0

The truth is I do not know if there is a control to do that in primefaces. But I recommend you use API drag and drop de HTML5 . Chapter 8 of El Gran book of HTML5, CSS3 and javascript , explains how to read several image files with drag an drop and you could combine it with the API File of chapter 12 to send the files to the server, and to compress them there.

    
answered by 12.08.2017 / 02:01
source