As of PrimeFaces 5.2

PF Lead just added a new attribute called “nodeVar” for the p:treeTable (dunno if p:tree is included) as in PF 5.1.10 / 5.2.

This feature allows to get a hold of the actual TreeNode instead of it’s data. Hence, one can now perform extra method calls on the node itself, such as TreeNode.isLeaf().

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *