Monday, January 31, 2011

Re: comprehension problem events

I might be wrong,
but please do remember that the Java code you write,
are compiled to JavaScript, therefore in your statement:
">>I do not understand how is it possible to get the value of the
"symbol" variable after the button has been created and sent to
client.??"

button is not sent to the client,
in other words, button is not created on the server
and passed to the client, it is how JavaScript works,
button is created on the client, within the browser,
and when user clicks the button, browser can respond with the event.
Button and the rest of the gwt widget, are wrappers around low level DOM.



--
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