ListEditor is there a way to edit a generic type?
Hi,
What I'm trying to do is pass ListEditor a list of generic types e.g.
an AbstractAnimal type but what the list gets might be a Bird type, a
Fish type, Mammal... etc...
The problem is that that my Bird type has a property "wingSpan" which
the Fish type does not.. they might also share a property e.g. "name"
or "canFly".
The Editor complains that it "couldn't find a getter for canFly in
proxy type ...AbstractAnimal".
Is there any way around this?
Thanks for you help in advance.
Cheers,
Dave
--
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