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

RE: "Tracking" submission progress?

From: T. V. Raman <raman@users.sf.net>
Date: Fri, 24 Mar 2006 06:05:31 -0800
Message-ID: <17443.64683.966789.986174@localhost.localdomain>
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,
    >> How about adding a "progressvar" attribute to submission.
    Mark> We had been thinking just the same thing!
    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> (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> Regards,
    Mark> Mark
    Mark> Mark Birbeck CEO x-port.net Ltd.
    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> Download our XForms processor from
    Mark> http://www.formsPlayer.com/

Best Regards,

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:16 UTC