I need to build a tree that the user can click on a parent node or child node and then do to their detail screen.
<rich:tree switchType="client" style="width:300px" value="#{fetWizardBean.workspace.data}" var="item" nodeFace="#{item.type}">
<rich:treeNode type="workspace">
<h:outputText value="#{item.type}"/>
</rich:treeNode>
<rich:treeNode type="group" >
<h:commandLink action="#{fetWizardBean.viewGroup}">
<h:outputText value="#{item.name}" style=""/>
</h:commandLink>
</rich:treeNode>
<rich:treeNode type="fet">
<h:commandLink action="#{fetWizardBean.viewFet}">
<h:outputText value="#{item.name}" />
<h:outputText value=" - " />
<h:outputText value="#{item.value}" />
</h:commandLink>
</rich:treeNode>
</rich:tree>
This seems to do what I want.
http://jboss.com/index.html?module=bb&op=viewtopic&t=113445