I am trying to write a generator to handle JSON overlay types for me,
but have run into a problem in hosted mode. I have an object that
contains an array of JSOs so i do JavaScriptObject jso =
messages.getMessages[0]; and I get the following problem:
java.lang.ClassCastException:
com.google.gwt.core.client.JavaScriptObject$ cannot be cast to
[Lcom.google.gwt.core.client.JavaScriptObject;
I think it has something to do with some trick OOPHM does to get it to
work, but I was hoping someone familiar with hosted mode and OOPHM
could help me find a fix for this.
public interface LogMessages extends JSONObject
{
public JavaScriptObject[] getLogMessages();
}
--
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.