Hello, I would like to load zones of a rich:tree backing model lazily. Per desired behavior on first attempt to expand a non-leaf tree node, the data should be loaded and the sub-tree populated.
Is there any way to accomplish this with programmatic TreeNodeImpl construction? Instead of building the entire data model at once, use some form of deferred load, either through a proxy or some other hook, similar to adviseNodeExpanded?
Thanks!
Hello,
Sure. Just implement TreeNode methods working with children so that they will be lazy initialized.