I tried event.getSource() but since I created a custom widget, called
CompositeWidget, and I'm listening for a click in the LeftPanel, I
believe event.getSource() is returning LeftPanel, not the
CompositeWidget. So the contents of the CompositeWidget are not
available from event.getSource(). I could be way off on this.

I think it could have something to do with Event Bubbling. Mentioned
here: 
http://code.google.com/webtoolkit/doc/1.6/FAQ_UI.html#How_can_I_efficiently_handle_events_from_many_interior_Widgets?,
but I don't know how to implement that.

I should mention that I'm new to GWT, so if I'm just doing something
completely wrong or inefficient, please let me know.

I put an example of what I'm trying to do here:
https://code.google.com/p/gwtcustomwidgeteventhandling/source/browse/

When the "Remove" button is clicked, I want that CompositeWidget to be
removed from the LeftPanel, and it's contents removed from the
RightPanel.

I understand I'm probably not explaining myself well, and what I put
up may not be the best example, but thanks for any help.

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