Monday, January 16, 2017

Re: How to Show after All the Widgets Are Loaded?

We put all our server requests through a single "manager" object so we can keep track of the server side requests (to drive "please wait" etc)... You could do something like that? Although be painful if other requests happening.

The other tactic we use is to group requests into bundles with individual callbacks and a single one at the end when all done. RequestFactory provides this out of the box.

Maybe just having a parent widget that is informed by sub-widgets when they are ready? 

The real pain is what to do if one or more calls returns an error.

On Tuesday, January 10, 2017 at 3:07:25 AM UTC, Namline wrote:
I have several widgets/composites on a toolbar that are retrieved asynchronously. I need to know how I can wait for all the asynchronous calls for each widget/composite to retrieve information it needs for rendering to complete before showing the toolbar that houses them.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment