I'm using GWT 1.5.2. I'll try to be brief, as the question is already
in the forums, albeit with no definitive answer.
I want to send a collection of objects over the wire. The collection
is a list (ArrayList to be exact), the objects ARE SERIALIZABLE
(evidently). All is good, but the collection uses subtyping, like so:

public class A<T extends B> implements IsSerializable {
        private final List<T> items;
...

So the actual items are objects with types extending class B

What currently happens is this: I send a object of type A and the
object is sent OK, but on the other side, the 'items' collection is
empty.

My question is how do I do that. What annotations or other mechanisms
should I use to be able to send this collection over the wire?



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