sending Polymorphic types from Server to GWT client
I have three objects, that implement a base interface and reside on
the server.
interface Base
class Foo implements Base
class Bar implements Base
class Baz implements Base
I want to send them over the wire to GWT client.
would GWT recognize the relationship they had ?
I want to use them in CellTree: NodeInfo
and would like to do something like
if (value instance of Foo)
///
if(value instance of Bar)
///
if(value instance of Baz)
///
is this possible ?
how ?
--
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