My tree doesn't work more after update to PrimeFaces 2.0.2. No expand, no select more. I have figured out I need selection="single" (was not nessesary with 2.0.1), but PrimeFacesPhaseListener says after its adding "tree id is not found to be updated partially". The tree:
Code: Select all
<p:tree id="treeSocs" value="#{socsBean.socsRootNode}" var="socNode" dynamic="true" cache="true"
selectionMode="single" nodeSelectListener="#{socsBean.onNodeSelect}" nodeExpandListener="#{socsBean.onNodeExpand}"
update="dtSelTreeSocGroup,dtSocsGroup,mbPropDefs" onNodeClick="handleTreeSocsNodeClick" widgetVar="treeSocsWidget">
<p:treeNode>
<h:outputText value="#{socNode.displayName}" escape="false"/>
</p:treeNode>
<p:treeNode type="leafSoc" styleClass="leafSoc">
<h:outputText value="#{socNode.displayName}" styleClass="leafContent" escape="false"/>
</p:treeNode>
</p:tree>
The next problem - the entire tree is selected (green).