I think Vik is looking for some API which can globally monitor async calls and fire events. Such global events can be used to display or hide busy indicators.
Writing code for busy indicator for each async call creates clutter. Besides if the same busy indicator is shared by multiple async calls, one has to write additional logic to handle concurrent async calls - for example if one call finishes but other is still in progress and if the callback simply hides the indicator then the first callback would hide the indicator and mislead the user into believing that all processes are complete. The state of each call has to be monitored in this case. This isn't too difficult, but having to replicate same code in every call doesn't feel right. There should be an event or some hook into GWT internals that can tell if any async call is in progress. I would like to hear some thoughts on this. I have searched a lot and haven't found any API support to do this. This is a big feature missing in GWT. If I'm missing out something please point out. Regards, Priyank On Mar 31, 7:22 pm, VladS <[email protected]> wrote: > google "ajax loading" there is nice Ajaxload - Ajax loading gif > generator. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
