Event Delegation: onBrowserEvent() is never called unless there is a handler attached

2010-06-12 Thread Sky
I have a FocusPanel that doesn't have any event handlers attached to it. I override the FocusPanel's onBrowserEvent() but it never gets called unless I add a specific handler to it. What am I doing wrong? I thought the onBrowserEvent() gets called on any and all Widgets regardless of whether it's

Re: Event Delegation: onBrowserEvent() is never called unless there is a handler attached

2010-06-12 Thread Sky
Solved. Forgot to sinkEvents() in the constructor... my bad. It's been like a year since I did custom event handling :P cheers On Jun 12, 12:48 pm, Sky wrote: > I have a FocusPanel that doesn't have any event handlers attached to > it. I override the FocusPanel's onBrowserEvent() but it never g