I am trying to implement lazy loading of child nodes, so I attach a changeExpandListener and catch the NodeExpandedEvent. Problem is I can't figure out how to get the TreeNode that is being expanded from the NodeExpandedEvent? Any help?
I'd recommend you to implement lazy-loading without any listeners. You can just implement/override getChildren/getChild methods of org.richfaces.component.TreeNode to load nodes there.