tags:

views:

158

answers:

0

Being new to primefaces, I have been researching a way to have TreeView in dynamic mode update a separate tab pane given the id on Node expansion. This works great for node selection with the "update" attribute. Can it work the same way on Node Expansion was well?

Here is my code that works when a node is selected:

<p:tree id="tree" dynamic="true" var="node" cache="true" update="details"
 value="#{treeBean.root}" rendered="#{treeBean.root != null}" styleClass="inventoryTree"
 nodeExpandListener="#{treeBean.onNodeExpand}" nodeSelectListener="#{treeBean.onNodeSelect}">