- From: T. V. Raman <raman@users.sf.net>
- Date: Fri, 24 Mar 2006 06:05:31 -0800
- To: mark.birbeck@x-port.net
- Cc: www-forms@w3.org
Well, you could complete the circle by adding a "receiving data " event on the xml-http side as well. >>>>> "Mark" == Mark Birbeck <mark.birbeck@x-port.net> writes: Mark> Hi Allan, Mark> >> How about adding a "progressvar" attribute to submission. Mark> Mark> We had been thinking just the same thing! Mark> Mark> Our approach was to do it via events though--have an Mark> "xforms-submit-progress" event that fires periodically, Mark> and one of the properties on the Event object would be Mark> the number of bytes transferred so far, and another Mark> would be how many bytes should be transferred in Mark> total. You could then use the event and the values to Mark> do whatever you wanted, such as your example of showing Mark> a progress bar. Mark> Mark> (It's also worth noting that a progress event is one of Mark> the things that the WEBAPI group are talking about Mark> adding to good old XmlHTTPRequest.) Mark> Mark> Regards, Mark> Mark> Mark Mark> Mark> Mark> Mark Birbeck CEO x-port.net Ltd. Mark> Mark> e: Mark.Birbeck@x-port.net t: +44 (0) 20 7689 9232 b: Mark> http://internet-apps.blogspot.com/ w: Mark> http://www.formsPlayer.com/ Mark> Mark> Download our XForms processor from Mark> http://www.formsPlayer.com/ Mark> Mark> -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman
Received on Friday, 24 March 2006 14:05:42 UTC