On Monday, January 17, 2011 4:02:08 PM UTC+1, julio wrote:
>
> getElement().appendChild(a.getElement()); 
>

event handlers are "bound" when the *widget* is *attached* (i.e. somehow its 
onAttach method is called). In short, never use getElement() unless you know 
what you're doing (particularly when dealing with DOM tree manupulations), 
always use widget methods addWidget() et al.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to