- From: Allan Beaufour <beaufour@gmail.com>
- Date: Fri, 24 Mar 2006 12:47:52 +0100
- To: "Mark Birbeck" <mark.birbeck@x-port.net>
- Cc: www-forms@w3.org
On 3/24/06, Mark Birbeck <mark.birbeck@x-port.net> wrote: > > How about adding a "progressvar" attribute to submission. > > We had been thinking just the same thing! Heh. Brilliant minds get brilliant ideas ;-) > 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. That's also a good idea! How about having both? I really like the simplicity in just adding a var and binding a range to it. (there's a thing about how to make the range readonly, etc... but still). > (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.) Oh well, "let's do it too!" :) -- ... Allan
Received on Friday, 24 March 2006 11:47:56 UTC