Tuesday, November 27, 2012

Re: PopUp not visible

If I remember correctly PopupPanel also uses a deferred command to reposition itself to the center and then reveal itself. So the browser may not have enough time to show it before your blocking task runs because both deferred commands are executed right after each other.

The best thing you can do is to make your task non blocking. You and your users never want a web application that totally freezes the web browser. Whatever your task do, split it up in smaller parts and use a RepeatingCommand along with Scheduler.get().scheduleIncremental() to give the browser enough time to do all the things it needs to do without freezing.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vfHvl_F7sV0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment