2 Replies Latest reply on Mar 28, 2010 9:41 PM by peterlen

    rich tree changeExpandListener not triggered.. why?

    peterlen

      Hello,

       

      I have the following attribute in my rich:tree:

       

      changeExpandListener="#{DataFolders.changeExpandListener}"

       

      My backing bean then has the following:

       

       

       

       

      public

       

       

      out.println(" CHANGE EXPAND LISTENER");

      }

       

      I thought that when I expanded or collapsed a folder in the tree that this changeExpandListener would get called, but it is not.  I first had the changeExpandListener attribute defined on my rich:tree and then I defined it on the rich:treeNode, but it did not get triggered in either case.

       

      Does anyone know what I am missing?  or am I not understanding the changeExpandListener attribute?

       

      Thanks - Peter

      void changeExpandListener(NodeExpandedEvent event) {

         System.