2 Replies Latest reply on May 15, 2015 7:48 AM by Sathish Kumar

    Rich faces rich:tree get selected path

    Sathish Kumar Newbie

      I am developing jsf application using richfaces component library

      Now i am customizing and using the rich:tree . I want to get the selected TreeNode path .....

      I tried of converting UITree to JTree but failed......


      public void selectionChanged(TreeSelectionChangeEvent selectionChangeEvent) {

      String fulPath = null;


                     JTtree  jTree= (JTtree ) selectionChangeEvent.getSource();

                    fulPath  = jTree.getSelectionPath(); /*************This is what i want to get *************/


           }catch(Exception ex){

                                   log.warn("Exception occured in Folder Selection Changed of PTController.selectionChanged() "+ex);





      How to get the selected path from rich:tree please help me ...........Thanks in advance