I have a TreePanel I'm loading with BeanModels, using a TreeStore, BaseTreeLoader, and TreeModelReader (but no proxy). Each bean has a unique ID in a field called "id". I need the same bean to show up multiple times in the tree, under different parents. I am not using a key provider.
Currently, only the first row containing the node is rendered. The second place the node should appear is a blank row. Looking at the div, both have the same ID, but the first one contains the icons and text for the node. The second one contains nothing.
When not using a key provider, it appears that each TreeModel that wraps the BeanModel gets a unique id (String.valueOf(counter++)). However, the div id appears to be derived from my bean's id field, not the wrapped, unique id. Is this expected? Is the fact that my bean has a field "id" (and an accessor getId()) interfering with the model somehow?
Any help on how to allow the same bean to appear multiple times in the same TreePanel would be much appreciated.
Thanks!