Hi I play with GWT in the weekends, and I really like what i've seen
so far.  I have 2 questions:

1.  I don't really understand the execution model of my app.  I think
that's because I don't know javascript.  I'm assuming that there is
only one logical thread from the browser running the javascript and it
is the same thread that updates the display (disregarding asynchronous
requests).  So when through js I add 50 elements to a frame, the 50
elements are displayed after all of them are added to the frame.  In
other words, after the js has finished executing.  Do I have it
right?  Are there articles out there on this topic?

2.  Sorry this is not a great example, but it may get my question
across.  What do I do in the following situation (design):
a) update the text in a label to "starting..."
b) do a bunch of js and dom manipulation
c) update the text in the label to "finished!"

Currently, all I see is the after-effect: my dom manipulation and
"finished".  The label never displays "starting..."

How can I force the label to refresh between step a & b.  I've seen
some posts describing that one could use the Timer and somehow force
the element to refresh.  But I can't figure out how this is achieved.

Looking forward to your suggestions.  Thanks in advance.

-- 
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-tool...@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