-
1. Re: retrieve super-parent in rich:tree node
nbelaevski Feb 5, 2010 3:45 PM (in response to mcremolini)Hi Matteo,
rich:tree can be used in several different ways. Can you please post page code to see which one you are using?
-
2. Re: retrieve super-parent in rich:tree node
mcremolini Feb 8, 2010 4:22 AM (in response to nbelaevski)Hi,
i use the tag
<rich:recursiveTreeNodesAdaptor>
<rich:tree id="mittDestTree" style="width:300px" switchType="ajax"
ajaxSubmitSelection="true" ajaxSingle="false"
iconLeaf="/images/users_grp.gif" icon="/images/users_grp.gif"
iconCollapsed="/images/tree/collapsed.gif"
iconExpanded="/images/tree/expanded.gif"
reRender="treePanel" status="ajaxStatus" ><rich:recursiveTreeNodesAdaptor
</rich:treeNode>
roots="#{mittDestViewBean.sourceRoots}" var="currItem"
nodes="#{currItem.nodes}" >
<rich:treeNode id="nodo">
<h:outputText value="tipo:#{currItem.mittDest.tipo_nodo} unita:#{currItem.mittDest.id_unita} #{currItem.miDest.descr_unita} #{curtItem.mittDest.regAssoc}"/></rich:recursiveTreeNodesAdaptor>
</rich:tree>