I have a subclass of DataView that calls sinkEvents(Event.ONCLICK) in its constructor, and I get the onBrowserEvent calls as expected.
But I tried the same technique with a subclass of HtmlContainer, and I don't get the onBrowserEvent method calls. Same is true for subclasses of LayoutContainer, and others.
Why does it work in a DataView subclass but not others?
How can I get the browser events on other classes? I'm sure I'm missing something.