On Tue, Oct 4, 2011 at 5:59 PM, Ashton Thomas <ash...@acrinta.com> wrote:

> Hey Alexander, I am not sure you are going about this the correct way. Dev
> Mode is NOT synchronous and it functions just like production mode. There is
> another reason why you are getting your results. It may be because the
> requests take longer in Dev Mode and your client has time to send the
> request, then clear, the load.


Yep, that could be a reason too.


>
> The Solution you posted is creating a split point which will download the
> code the first time possible solving the timing problem but does it work if
> you keep loading? (not refreshing but keep loading the activity without a
> refresh?)
>

That's the point. It works "most of the time" but sometimes it stalls and
hangs.


> You should try clearing the table and then creating a request to the
> server.
>

That's what clearView() does. Afterwards getResourceItems is called.

>
> I may not understand you question so please let me know if I am
> misunderstanding you somewhere
>
> I want to *clearView() * and only when this method finishes, I want to
call *getResourceItems()*. Is the approach I've mentioned the right one?
Basically I want to execute A and after A has done its job I want to do B
and all of these synchronously.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to