Re: Populating TreeView by RPC

2010-07-04 Thread Nick
Okay - so nested collections are not supported? Thanks for the suggestion -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email

Re: Populating TreeView by RPC

2010-07-03 Thread Stefan Bachert
Hi Nick, I would use an other data structure. class Item { int nodeId; int parentId; String name; // .. more Data } class TreeData extends ArrayList implements IsSerialisable {} or class TreeData implements IsSerialisable { public ArrayList items; } And you should asure that a pare

Populating TreeView by RPC

2010-07-02 Thread Nick
I'm trying to populate a TreeView by making an RPC call to my server. It makes sense (to me) to represent the data using some sort of nested Collection. I've been unsuccessful after trying 2 approaches: class MyMap extends TreeMap implements IsSerialisable {} and class MyTree implements IsSeria