Monday, January 28, 2013

Re: How to add ChangeHandler to ValueListBox using ui:binder?

Are you sure you're using the correct ValueChangeEvent from com.google.gwt.event.logical.shared?

I just tried the following and it compiles OK:

@UiField(provided=true) ValueListBox<String> l = new ValueListBox<String>(PassthroughRenderer.instance());    @UiHandler("l")  void foo(ValueChangeEvent<String> e) {  }

On Monday, January 28, 2013 4:21:21 PM UTC+1, membersound wrote:

Ja I tried this before, but:
Parameter 'ValueChangeEvent' is not an event (subclass of GwtEvent).

2013/1/28 Thomas Broyer <t.br...@gmail.com>
ChangeEvent → ValueChangeEvent


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

No comments:

Post a Comment