W3C home > Mailing lists > Public > www-forms@w3.org > March 2006

RE: "Tracking" submission progress?

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Fri, 24 Mar 2006 11:04:53 -0000
To: <www-forms@w3.org>
Message-ID: <05ad01c64f32$c73890d0$0e01a8c0@Jan>

Hi Allan,

> How about adding a "progressvar" attribute to submission.

We had been thinking just the same thing!

Our approach was to do it via events though--have an
"xforms-submit-progress" event that fires periodically, and one of the
properties on the Event object would be the number of bytes transferred so
far, and another would be how many bytes should be transferred in total. You
could then use the event and the values to do whatever you wanted, such as
your example of showing a progress bar.

(It's also worth noting that a progress event is one of the things that the
WEBAPI group are talking about adding to good old XmlHTTPRequest.)

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
b: http://internet-apps.blogspot.com/
w: http://www.formsPlayer.com/

Download our XForms processor from
http://www.formsPlayer.com/
Received on Friday, 24 March 2006 11:05:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:03 GMT