Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-14 Thread Alp Yilancioglu
Thank you J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-w

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-14 Thread Alp Yilancioglu
13 Şubat 2013 Çarşamba 12:57:27 UTC+2 tarihinde Alp Yilancioglu yazdı: > > > 13 Şubat 2013 Çarşamba 12:14:50 UTC+2 tarihinde Jens yazdı: >> >> What I mean is code like >> >> Scheduler.get().scheduleDeferred(. RootPanel.get().add(labelA); >> RootPanel.get().add(labelB); ...) >> RootPanel.get()

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Alp Yilancioglu
13 Şubat 2013 Çarşamba 12:14:50 UTC+2 tarihinde Jens yazdı: > > What I mean is code like > > Scheduler.get().scheduleDeferred(. RootPanel.get().add(labelA); > RootPanel.get().add(labelB); ...) > RootPanel.get().add(... labelC...) > > will probably result in an UI: > > labelC > labelA > labelB

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Jens
What I mean is code like Scheduler.get().scheduleDeferred(. RootPanel.get().add(labelA); RootPanel.get().add(labelB); ...) RootPanel.get().add(... labelC...) will probably result in an UI: labelC labelA labelB because the deferred command is executed after any other code completes. But in

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Alp Yilancioglu
13 Şubat 2013 Çarşamba 11:39:36 UTC+2 tarihinde Jens yazdı: > > You probably do too heavy work in your code so that the browser can not > show the loading dialog (your work blocks the only JavaScript thread that > also renders the web page). > > You could wrap your heavy work in a Scheduler.get(

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Jens
You probably do too heavy work in your code so that the browser can not show the loading dialog (your work blocks the only JavaScript thread that also renders the web page). You could wrap your heavy work in a Scheduler.get().scheduleDeferred() which should give the browser enough time to show