Ok I was missing the type argument for the ValueChangeEvent. Using it works 
as expected!


Am Montag, 28. Januar 2013 16:52:56 UTC+1 schrieb Thomas Broyer:
>
> 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 <[email protected]>
>>
>>> ChangeEvent → ValueChangeEvent
>>>
>>>
>> 

-- 
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 [email protected].
To post to this group, send email to [email protected].
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.


Reply via email to