Wednesday, November 2, 2011

Re: Gwt-App totally blocks Browser-UI

Sounds like you're creating a tree with too many items. (How many?)

Maybe you need some lazy creating of tree items.

Paul

On 02/11/11 11:27, tanteanni wrote:
> thx,
>
> are there any examples how to use scheduleIncremental? I don't want/can't to split the work that has to be done manually but i want to give the browser a chance to do other stuff - is it possible to interrupt a task for some time?
> In my case the main work has two parts: loading of data (one ArrayList containing the tree structure) and creating a tree widget with it. but splitting the work in this two parts wouldn't be enough - the second part alone could block a browser on a slow machine for up to 10seconds - very bad.
> (optimizing the code or give back some work to server is part of another discussion - not to be led here)
> --
> 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/-/OsqLAj1awYIJ.
> 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.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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