Tree - Filter

Filtering updates the node based on the constraints.

<h:form>
    <p:tree value="#{treeBasicView.root}" var="node" filterBy="#{node}">
        <p:treeNode>
            <h:outputText value="#{node}" />
        </p:treeNode>
    </p:tree>
</h:form>