Thursday, June 27, 2013

UiHandler w Custom Events

Does anybody know of a way to get this to work. I'm running into this issue where ive created a custom event which is fired by a widget. The parent of that widget is listening for the event via:

@UiHandler("childWidget")
void onMyCustomEvent(CustomEvent event) {
 //bla blah
}

However, compiler complains that 'childWidget' does not have an "addCustomEventHandler" method (which it most definitely does) b/c i'm able to add the handler programatically, just not via UiHandler,

https://groups.google.com/forum/#!msg/google-web-toolkit-contributors/cy44bYEAtKs/DHKeyTP5MhcJ

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment