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

Re: "Tracking" submission progress?

From: Allan Beaufour <beaufour@gmail.com>
Date: Fri, 24 Mar 2006 12:47:52 +0100
Message-ID: <90d6cb0e0603240347l1b8dd61u780167a96d6093e4@mail.gmail.com>
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 GMT

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