Friday, August 16, 2013

Re: Generics, JSNI and Integer problem

Thank you very much for your help. This, indeed, solved the problem.

On Monday, August 12, 2013 7:55:57 PM UTC+2, Thomas Broyer wrote:
You need to wrap your int into a java.lang.Integer using its valueOf or new(). JSNI doesn't do auto-boxing/unboxing.

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