Is it possible to manualy edit the SerializationPolicy?
Hello,
I'm using GWT 2.3.0 with objectdb 2.2.8. Since objectdb uses proxy
classes for collections, maps and dates (which are subclasses of the
original classes) i have problems receiving data from the database
because those classes are not on the whitelist of GWTs
SerializationPolicy. So i get the following error:
"com.google.gwt.user.client.rpc.SerializationException: Type
'objectdb.java.util.ArrayList' was not included in the set of types
which can be serialized by this SerializationPolicy or its Class
object could not be loaded. For security purposes, this type will not
be serialized."
java.util.ArrayList is on the whitelist (see the *.gwt.rpc file) but
objectdb.java.util.ArrayList is not.
I found a workaround for getting types on the list:
http://stackoverflow.com/questions/138099/how-do-i-add-a-type-to-gwts-serialization-policy-whitelist
But for me this does not work because I dont have
objectdb.java.util.ArrayList classfile itself.
Is there any posiibility to get those classes onto the list manualy?
Thanks!
Simson
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home