2 Replies Latest reply on May 31, 2007 5:58 AM by pbrewer_uk

    rich:tree lazy loading

    afoures

      Hi

      Is it possible to do a lazy loding with the current rich tree.
      I wanted to build child node just when changeExpandListener is fired, and not make all of then before loading page.

      Thanks

        • 1. Re: rich:tree lazy loading
          nbelaevski

          Hello!

          You can implement getChild/children methods of TreeNode properly to do lazy-loading. You don't need listener for that.

          • 2. Re: rich:tree lazy loading
            pbrewer_uk

            I'm new to richfaces so I'm not very familiar with the tree. Is getChildren only called when a node is expanded?

            Could you give a quick example of a getChild/children method that would demonstrate lazy-loading?

            Thanks in advance, Pete.