Hello,

I'm having problems to use long values in GWT 1.5. I'm using a lot of
JSNI methods, and I need to pass longs into or out of these methods.
As long as I don't need to change the long values in the JSNI methods
I pass them with the type Long. But if I call a RPC method with a Long
value retrieved from a JSNI method I always get an exception

"TypeError parts is undefined"

when the parameter of the rpc method is of type long and a

"com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
java.lang.ClassNotFoundException:
com.google.gwt.core.client.JavaScriptObject"

when I'm using Long instead of the primitive type.

Can someone tell me what I'm doing wrong? Which type must I use when
passing long values to rpc method which are retrieved from JSNI
methods?

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