On 12 nov, 18:57, Y2i <[email protected]> wrote:
> Label implements IsEditor<LeafValueEditor<String>>.  Binding a Long
> property of a EntityProxy instance to a Label results in the following
> error:
> "The method setValue(String) in the type TakesValue<String> is not
> applicable for the arguments (Long)"
>
> Is there a standard way to bind a Long to a Label widget or should I
> create a widget for displaying Long values?

See http://code.google.com/p/google-web-toolkit/issues/detail?id=5507

I'm working on a patch (should be ready later today):
http://gwt-code-reviews.appspot.com/1099801/show

In the mean time, you can either create a new widget that
TakesValue<Long> (and use a TakesValueEditor), or just create a
LeafValueEditor<Long> that "writes" to a Label.

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