Hello everyone,
I am struggling with return types in methods implementing native
javascript interfaces. Returning strings is no problem, but calling a
method that returns a map
public native Map<Long, GwtStock> getMap() /*-{
return $wnd.parent.__getMap();
}-*/;
works only in hosted mode (!) and either throws a classcast exception
or returns null.
Could anyone shed light on that issue. I remember reading a note
somewhere that jsni methods cannot return complex types but did not
really get the way around and alerted by absolutely intended behavior
in hosted mode.
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
-~----------~----~----~----~------~----~------~--~---