Hi, I would be grateful if someone can point my error.
I have a tr:tree which works fine, if I drop it in the midst of a tr:panelborderlayout with simple facets of top, left and bottom it also works fine. However when I burden the facet with some components the tree breaks (Selecting a child causes tree to collapse) and reports :- Oct 5, 2011 9:39:39 AM org.apache.myfaces.trinidad.component.UIXCollection setClientRowKey SEVERE: Could not find rowKey for clientRowKey:2 Xhtml page attached. Thanks James treemodel is from
public class catalogue {
public TreeModel getTestTree2() {
Person john = new Person("John Smith");
Person kim = new Person("Kim Smith");
Person tom = new Person("Tom Smith");
Person ira = new Person("Ira Wickrememsinghe");
Person mallika = new Person("Mallika Wickremesinghe");
Person baby = new Person("baby");
kim.getKids().add(baby);
john.getKids().add(kim);
john.getKids().add(tom);
ira.getKids().add(mallika);
// create the list of root nodes:
List people = new ArrayList();
people.add(john);
people.add(ira);
TreeModel model = new ChildPropertyTreeModel(people, "kids");
return model;
}
}
catalogue.xhtml
Description: application/xhtml

