jijo-paulose / gwtupload

Automatically exported from code.google.com/p/gwtupload
Other
0 stars 0 forks source link

Reset whole MuliUploader #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
i am using your MultiUploader with exactly the same sample code as you
published. All my files are uploaded successfully. The Uploader is placed
on a closabel tab. After closing and reopen the tab, i can't upload the
same file again. I would like to reset the MultiUploader so the uploader
don't knowing anything about previus uploaded files like clicking on the
image. I need this function, because i am working with the files on server.
So i need the files only a little time after upload and then destroy them.
I have tryed the reset(), cancle() and remove() functions.

I am happy if you can help my.

Thanks from Germany,
Stefan

Original issue reported on code.google.com by bewerbun...@web.de on 14 Dec 2009 at 8:39

GoogleCodeExporter commented 9 years ago
Hi, 
The only way to reset the uploader is to create a new one right now:
panel.remove(uploader);
uploader = new MultiUploader(); 
[...]
panel.add(uploader);

You are right, it is useful a reset method for multiuploaders. I'll add this 
feature
soon.

Manolo

Original comment by manuel.carrasco.m on 16 Dec 2009 at 9:21

GoogleCodeExporter commented 9 years ago
Fixed in trunk, now uploader.reset() works as expected

Thanks for reporting

Original comment by manuel.carrasco.m on 22 Dec 2009 at 4:56