RE: "Tracking" submission progress?

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 UTC