facesContext.addMessage(null, new FacesMessage("Toggle node: " + getNodeData() + ", source is: " + event.getSource()));
}
public void behaviorSelectionChangeListener(AjaxBehaviorEvent event) {
FacesContext facesContext = FacesContext.getCurrentInstance();
facesContext.addMessage(event.getComponent().getClientId(facesContext), new FacesMessage(
"Selection changed, source is: " + event.getSource()));
}
public void processSelectionChange(TreeSelectionChangeEvent event) {
new SelectionChangeHandler(true).processTreeSelectionChange(event);