Hi,
I am working with rich tree and looking at lazy loading the rich tree. In other words, I want to load just one or two levels of the tree on the first go and then as a node is expanded, I want to fetch its children.
In order to achieve this, I want to capture the node that was expanded. I tried changeExpandListener but it gives me a ClassCastException while trying to cast the HTmlTree into a UIComponent as below:
javax.faces.component.UIComponent comp = (javax.faces.component.UIComponent)event.getComponent();