Hello all,

How can I force a class into the SerializationPolicy file? I have a
CustomSerializer for class A, which contains class B as an attribute,
B also serializes though a CustomSerializer. In A's CustomSerializer I
have a call to streamWriter.writeObject(instance.getB()), but this
fails if B is not included in the SerializationPolicy file.

If I add a method in a RemoteService which includes class B as a
parameter, it works because B get's inserted in the
SerializationPolicy file, but I don't think adding redundant methods
to the RemoteService just to get classes in the SerializationPolicy
file is the way to go.

Anyone enlightened enough to help? (-:
--~--~---------~--~----~------------~-------~--~----~
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