i am new to Itmill and really love it from what i saw till now. For a project i need to use your Upload widget, unfortunately it can only handle 1 File at a time. Is there any simple approach to use this widget to upload several files at once or do i have to create a complete new one?
Any help appreciated and keep the good work going!
Actually, I have this problem but in the sample TestForUpload.java does not allow select multiple file in the same window. I need something like gmail where you can select multiple files and click the button to open, then the files selected are attached to the email.
There is no standard way to do this with a browser without client side plugins, and core Vaadin does not rely on any browser plugins, so Vaadin does not support this.
This is possible to do e.g. with Flash, Java or Silverlight on the client, but you would need to write a Vaadin add-on e.g. for the (Flash-based) swfupload or some other implementation, and probably provide a fall-back mechanism using single file upload if the browser does not have Flash installed. I believe such an add-on would be useful for many users if published in the directory.
Anyway, several newer browsers now support HTML5 multiple file upload. On other browsers, it might be possible to use e.g. a Flash plug-in as a fallback.
As also mentioned in some other threads on the forum, there are at least two add-ons in the directory that can help you with this,
EasyUploads and
MultiFileUpload which seems to be developed on top of EasyUploads.