Building Tree using complex scenario
This simple is unable to build after I look at the request factory binding examples and experiment with simple tree example but no luck. I may be misunderstanding the concept of building the tree. Here is the exception after run the tree java.
Caused by: com.google.gwt.event.shared.UmbrellaException: Exception caught: The given model is already in the TreeStore, and should not be assigned a new node
I noticed one thing that if invoke clients have children of Doctors and Doctors have children of Agreements and Agreements have children of Documents. Is that stating the error. Can I get some sample code snipet on this scenario.
The solution is that two nodes in a TreeStore must not share the same ID - doing so is telling the TreeStore that the hierarchy contains a single item in two different places, which doesn't really make sense - which are 'its' children, or is the entire subtree from there duplicated? And which is its parent, since it has two?
In the future ramgovind, please consider elaborating on the solution, even when you find it yourself - it makes it easier for future users to find the answers to their own questions when they search