hello
how can i change treeNode of tree component in client side?
In other words, i want to add other objects to treenode from other backbean class? how to do?
<p:tree value="#{cc.attrs.bean.root}" var="node" dynamic="true" selection="#{cc.attrs.bean.selectedNode}" 
         selectionMode="single"
                                id="tree"
                                styleClass="treeModeClustering"
                                onNodeClick="documentsDataTable.getPaginator().setPage(0);">
                            <p:ajax event="select" update="#{cc.attrs.render}" listener="#{cc.attrs.bean.nodeSelect}"/>
                            <p:treeNode>
                                <h:outputText value="#{node}:"/>
                            </p:treeNode>
                        </p:tree>