Recently i have been investigating UiBinder, i must say that it makes
life a great deal easier.

I have however come across a problem when using @UiHandler method
annotations where the event type is a generic type.

The following is a simple example of the sort of method annotated that
causes a problem.

@UiHandler("checkBox")
public void handleEvent(final ValueChangeEvent<Boolean> event) {
        /* handle the checkbox changing */;
}

The error received during compilation is as follows.

    Invoking <generate-with
class='com.google.gwt.uibinder.rebind.UiBinderGenerator'/>
       [WARN] The method 'getAssociatedType()' in 'ValueChangeEvent'
does not return Type<? extends EventHandler>.
       [ERROR] Parameter 'ValueChangeEvent' is not an event (subclass
of GwtEvent).

Is this expected behaviour?

Andrew.

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