PDA

View Full Version : Getting a ListStore or ListLoader from a Treeloader?



devalx
29 Apr 2010, 11:04 AM
Hello,
i'm currently trying to get a ListLoader or ListStore from an TreeLoader.
I do have an working


RpcProxy<List<MODEL>> proxy
TreeLoader<MODEL> loader
TreeStore<MODEL> registryStore

infrastructure.
Now i have several ComboBoxes and DualListBoxes that i want to populate with one of those instances.
For example:
I have those Categorys in my tree:


Dogs

Dog1
Dog2


Cats
Snakes

Now i want to populate a ComboBox with one of those Categorys, like Dogs and then the ComboBox shows two entrys: Dog1 and Dog2.

Is there any way to do this? Getting a ListStore for an item from RpcProxy/TreeLoader/TreeStore?