Have you checked Elemental? AFAICT, everything's there already.
http://www.gwtproject.org/articles/elemental.html
On Wednesday, November 27, 2013 4:02:48 PM UTC+1, confile wrote:
want to observe the upload percentage of a file upload from GWT.
In JavaScript you can use a XMLHttpRequest and
Yes, but I do not get how to use it. Can you help me with this please?
Am Donnerstag, 28. November 2013 12:20:21 UTC+1 schrieb Thomas Broyer:
Have you checked Elemental? AFAICT, everything's there already.
http://www.gwtproject.org/articles/elemental.html
On Wednesday, November 27, 2013
want to observe the upload percentage of a file upload from GWT.
In JavaScript you can use a XMLHttpRequest and add an event listener like
this:
var oReq = new XMLHttpRequest();
oReq.upload.addEventListener(progress, updateProgress, false);
// progress on transfers from the server to the
Well if you already know the concept of JSNI then you can use it to add a
listener to GWT's XMLHttpRequest as its an ordinary JavaScriptObject. You
either extend it or create a utility method. Something along these lines
(probably not fully correct):
public native void
Hi Jens,
thanks for your help. I know the concept but did not fully understand you.
1. What do you mean by: Don't forget to cleanup the event listener after
you are done.?
2. Did I get you right on the following. Since I use the progress for file
upload I have to use a FormPanel.
my
See https://code.google.com/p/google-web-toolkit/issues/detail?id=624 comment
23 https://code.google.com/p/google-web-toolkit/issues/detail?id=624#c23.
I've implemented a file upload with a listener and had this problem and
solved it using the workaround described there.
Juan
2013/11/27 confile
I did not seen how to implement the progress listener in this post. Could
you please post an example?
Am Mittwoch, 27. November 2013 18:49:42 UTC+1 schrieb Juan Pablo Gardella:
See https://code.google.com/p/google-web-toolkit/issues/detail?id=624 comment
23