Mulitple upload at once with disable-event-thread set to true
blacksensei
7 Feb 2012 16:19:59 GMT
7 Feb 2012 16:19:59 GMT
Hello Good People,
I"ve used simple button with upload=true attribute for uploading one file before and it worked perfectly. on the sever side i use the button on upload event and it's still working.
public void onUpload$btnUploadFile$uploaderWindow(ForwardEvent event) {
final UploadEvent uevent = (UploadEvent) Events.getRealOrigin(event);
try {
media = uevent.getMedia();
// .......
Now i'm trying to use the same technique for multiple uploads a little bit like in this zk documentation under the section Upload Multiple Files at Once. But with my current implementation i can't use Fileupload.get();.
What can you suggest for me? ideally i would want to have multipe file selection and one button to upload all of them, would that be possible?
Hello Good People,
I"ve used simple button with upload=true attribute for uploading one file before and it worked perfectly. on the sever side i use the button on upload event and it's still working.
public void onUpload$btnUploadFile$uploaderWindow(ForwardEvent event) { final UploadEvent uevent = (UploadEvent) Events.getRealOrigin(event); try { media = uevent.getMedia(); // .......Now i'm trying to use the same technique for multiple uploads a little bit like in this zk documentation under the section Upload Multiple Files at Once. But with my current implementation i can't use Fileupload.get();.
What can you suggest for me? ideally i would want to have multipe file selection and one button to upload all of them, would that be possible?
thanks for reading this.