Matti,
How can I get in touch with your exports to start it?
Di
Hi,
Go to this address: https://vaadin.com/pro/ , upgrade your vaadin.com account (unless you already have pro subscription) and add a new support request.
If you wish to sing a larger deal, you can also contact our sales guys directly: https://vaadin.com/company#contacts .
cheers,
matti
Hello,
Thanks for this amazing add-ons.
In multiple uploading, is it possible to detect when all files are uploaded ?
If is possible, how to ?
Thanks a lot ![]()
Hi,
some days ago I have add the method MultiFileUpload.isInProcess() which returns true if a file upload is in process or if some files still waiting for uploading. But this method is currently not in the last release. If you want this you can download the sources from the SVN repository (see at http://code.google.com/p/easyuploads-addon/source/checkout).
I think also it’s a good idea to adding a FileActionListener. I will add it in the next days (hopefully this week).
Regards,
Steffen
EDIT
I have add now UploadActionListener interface. You can register this listener to the MultiFileUpload class and you will informed about each new started file upload, if a file upload finshed and if a file upload aborts with an error. It’s added with SVN revision 12 and will be part of the next release.
Hi Steffen, thanks a lot for your great job.
How can I get the source code of your modifications ?
Sorry in my ignorance, i never succeed to download on google code, I don’t understand how it works, I tried with TortoiseSVN but without success…
And when I downloaded your codes, how can I use them in my project ?
Because I have simply added the easyupload.jar in my lib folder, it’s also why I don’t know how edit the code of this widgetset.
Thank a lot for your help, I must to develop a Vaadin application for the end of my apprenticeship and I had only 1 week for learn Vaadin :wacko: !
Hi Dominique,
if you had installed SVN (client) then you will need only to type:
svn checkout http://easyuploads-addon.googlecode.com/svn/trunk/ easyuploads-addon-read-only
on command line (see also at http://code.google.com/p/easyuploads-addon/source/checkout). You don’t need a user/pwd. You can also do this with eclipse by adding the new SVN repository “http://easyuploads-addon.googlecode.com/svn” (by using the subclipse PlugIn).
After you have getting the source successfully you must exporting the EasyUploads project as an “Vaadin Add-on Package”. To do that you need the Vaadin PlugIn for eclipse. If you don’t have install this PlugIn yet you can download it here: https://vaadin.com/download . Don’t ask me for other IDEs because I use at this time only eclipse.
If you give me your email I can send you also the current EasyUploads.jar file.
After you have add the EasyUploads jar file to your project you will need to recompile Vaadin widgetset (to do this you need also the Vaadin PlugIn for eclipse). eclipse will do that automatically (just few seconds after you have add the jar file). If not you can click on “Compile Vaadin widgetset” icon in the toolbar.
Note also that EasyUploads is may be not working on Vaadin 7 (see at this post here: https://vaadin.com/forum/-/message_boards/view_message/225162#_19_message_1911693). It’ recommanded to use it on Vaadin 6. (Personally I use it on Vaadin 6.8)
Hope this helps.
Regards,
Steffen
Thank you very much, I haven’t yet had the opportunity to test all of this but your help will be invaluable to me !
In the meantime, it would help me if you mail me your current EasyUpload.jar at dominique@roduit.com.
I use also only Eclipse and I stay also with Vaadin 6.8 for use this add-on which will be the main part of my project.
Good evening,
Merci
How to clean the component, setting it to the initial empty view?
I am using version 0.5.2.
Hi!
I’ve just started using this add-on and I have a problem.
I have added this to my maven dependencies and when I build the gwt widgetset on my project, it builds only one permutation (instead of the usual six).
I figured out that is because the easyuploads’ Widgetset.gwt.xml contains this line:
and the gwt elemental’s gwt.xml contains this one:
.
(I’m using v7.0.0 with vaadin 7.0.4)
Has anybody an idea how to solve this issue?
The order of setting the value and inheriting the other module matters in which overrides the other. If I remember correctly, the first one overrides later ones, though not certain right now.
I would like to enlarge dropzone, actually to set custom size of the drop zone. Is it possible with CSS? I noticed that EasyUpload component uses CSS layout and an image for the drop zone which is packed with the addon itself - is there any way to change this without changing the addon sources?
Thanks!
I have a fix for 0.52. Since this form does not work, i will not write more.
Easyuploads 0.52 UploadField has the following problems:
- FileName and often also file length shows old data, including data from different page.
- Delete will neither propagate change to listeners, nor show user that content has been deleted.
- setValue(null) does not work properly at least visually.
- Discarding the form data will not change the visualized contents of the data, so edited data is still shown after it has been discarded.
And other problems:
delete marker cannot be changed.- Contents of binary files that is not meaningful is shown.
- Overloading UploadField is not meaningfully possible due to visibity problems.
This patch will address the fore mentioned problems. It is written to be generally useful, but not checked
in other projects than mine. I have tried upload to byte array and upload to file. I Hope this could be 0.53 or at least be useful for others, because the 0.52 was not really functional.
NOTE: Filename will not be shown in the patched version very often, but when it does it should be correct tough.
NOTE2: It not only possible, but actually likely that some of the fixes in the patch will not contribute to fixing the fore mentioned problems, but just add checks to conditions that do not happen in real life or refresh things that have always been refreshed before.
a better patch.
12953.txt (9.93 KB)
Hi,
Changes by Joonas are in SVN and downloadable via directory as version 0.5.3. V7 branch might aid from same changes at some point.
Thanks again for all contributions. I have way too little time for this add-on currently. If you wish to get commit access for the project, just email me.
cheers,
matti
I can confirm that this is true; I was coming across the same problem reported earlier in this thread - that, when using easyuploads-7.0.0, the GWT compilation was only generating code for one browser, as opposed to 6.
This can be temporarily fixed by setting the user-agent property in your widgetset.xml after the inheriting the easyupload Widgetset (example follows)
Cheers,
Charles.
<module>
<!-- Inherit DefaultWidgetSet -->
<inherits name="com.vaadin.DefaultWidgetSet"/>
<!-- [... Snip ...]
-->
<inherits name="org.vaadin.easyuploads.Widgetset"/>
<!-- [... Snip ...]
-->
<!-- reset user.agent to default - currently being set to safari by a dependency of easyuploads -->
<set-property name="user.agent" value="ie6,ie8,ie9,gecko1_8,safari,opera"/>
</module>
In version 7.0.1 I removed usage of the experimental “elemental api” and now use one JSNI method + Vaadin helper class to do the same thing. So easyuploads gwt module should no more limit browser permutations.
__
m
Thanks Matti - I’ve tried 7.0.1, and can confirm that you no longer need to override the user.agent setting in the widgetset.xml - all browser permutations do get generated.
Cheers,
Charls.
A little question:
Is the SWF-Fallback for Internet Explorer not working anymore? What is the suggested way for multi-file-upload in IE?
kind regards
hp
Hi Hans-Peter,
not sure what you mean with “Is the SWF-Fallback for Internet Explorer not working anymore”. May be you trying to open EasyUpload in IE10 on Win8 Metro. In this constallation flash can not open the multi file select dialog. But if you starting the IE10 on (Win8) desktop environment it works perfect.
Regards,
Steffen