This content has been marked as final.
Show 1 reply
-
1. Re: deselect a TreeNode of a rich:tree
jottka Jul 16, 2007 4:19 AM (in response to jottka)Hi again,
after a relaxed weekend I came today to the following solutionTreeRichfacesNodeHandler imih = (TreeRichfacesNodeHandler)SessionTools.getMangedBeanFromSession( Constants.TREE_HANDLER ); if (imih.getTreeRef() != null) { HtmlTree htmlTree= (HtmlTree)imih.getTreeRef(); TreeState ts = (TreeState)htmlTree.getComponentState(); ts.setSelected( null ); ts.saveState( FacesContext.getCurrentInstance() ); }
baba JottKa