Hi,

I would like to show some loading indicator (something like gmail does)
whilst there is a Xhr request going on. For example, jQuery has the
$.ajaxSetup() which you can provide a before and complete functions.

I'm pretty sure I could subclass Xhr and add similar functionality or
whatever, but this would imply changing everything that uses Xhr (for
example, the Json Store). Since I use the Xhr class & also the Json Store,
is there anyway to solve this?

I tried fiddling with the qx.io.request.Xhr.prototype, for example trying to
add a listener to the changePhase event, but it breaks other parts of the
application. Is the prototype the way to go?

Greetings,

Rouman



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Loading-indicator-on-AJAX-calls-tp7582961.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to