- From: T. V. Raman <raman@users.sf.net>
- Date: Fri, 24 Mar 2006 06:06:06 -0800
- To: beaufour@gmail.com
- Cc: mark.birbeck@x-port.net, www-forms@w3.org
It's nice that we're all making progress:-) >>>>> "Allan" == Allan Beaufour <beaufour@gmail.com> writes: Allan> On 3/24/06, Mark Birbeck <mark.birbeck@x-port.net> Allan> wrote: >> > How about adding a "progressvar" attribute to >> submission. >> >> We had been thinking just the same thing! Allan> Allan> Heh. Brilliant minds get brilliant ideas ;-) Allan> >> 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. Allan> Allan> That's also a good idea! How about having both? Allan> Allan> I really like the simplicity in just adding a var and Allan> binding a range to it. (there's a thing about how to Allan> make the range readonly, etc... but still). Allan> >> (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.) Allan> Allan> Oh well, "let's do it too!" :) Allan> Allan> -- ... Allan -- 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:06:09 UTC