On 13 oct, 15:27, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi
> ive made some classes that extend Checkbox and overide onbrowserevent.
> everything worked fine and a couple of days ago i switched to gwt 1.5
> and today i noticed it doesnt work anymore. seems like it totaly
> ignores my overides?
> I figured its probably because its missing @Override annotations but
> it doesnt seem like it helped to add that either.
> Any tips?

>From the documentation:
"GWT Widgets now sink their events lazily: widgets no longer routinely
sink their events eagerly. Instead, the event is sunk the first time a
listener is added to the widget. So subclasses which relied on eagerly
sunk events will now have to manually sink the events they depend
upon."
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&t=ReleaseNotes_1_5_BreakingChanges

You have to explicitly sink events in your constructor(s), e.g.
sinkEvent(Event.ONCLICK)
--~--~---------~--~----~------------~-------~--~----~
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