I have two domain objects that implement the same interface on the server, and a third class that contains a (heterogeneous) List of those objects. I need to be able to expose this list on the client side. The domain objects do not share a common super-class (they instead delegate the common functionality to another object).
Given that all proxy interfaces are required to extend BaseProxy, I cannot figure out how to write multiple proxies that will have a parent interface in common. I tried making a base interface that both proxies extend, but that base interface must extend EntityProxy, and the GWT compiler complains if you have an interface that extends EntityProxy but does not have a ProxyFor annotation. I am wondering (although I suspect the answer is no) whether I can have a single interface declare that it is a proxy for multiple entities. If not, other ideas for making this work are welcome. Thanks in advance for any ideas. Ryan -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.