Friday, June 22, 2012

Re: data received from a running servlet


On Thursday, June 21, 2012 6:36:49 PM UTC+2, Akis wrote:
Hi there. I've got a question:
i need to have a sort of "percentage progress" of the elaboration of
the servlet i call sending it data from a form. How could I do it?

If you don't *have* to support IE [1], then use XMLHttpRequest progress events [2] (and possibly use FormData [3] to grab values out of a FormPanel, so that you can keep backwards compatibility and compatibility with IE, just without the progress data)

You'll have to use JSNI, as GWT doesn't expose those features, but it's doable (we did it), and IMO it's worth it (compared to the more largely cross-browser but so much more complex "hack" that Joseph proposed)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NxHrxYQfvUEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate