I have implemented a simple rich faces tree with seam it is working it is working the following is the code.
`
<h:form>
<h:panelGrid columns="2" width="100%" columnClasses="col1,col2">
<rich:tree style="width:300px" nodeSelectListener="#{simpleTreeBean.processSelection}"
reRender="selectedNode"
binding="#{simpleTreeBean.sampleTreeBinding}"
value="#{simpleTreeBean.treeNode}" var="item" ajaxKeys="#{null}">
</rich:tree>
<h:outputText escape="false" value="Selected Node: #{simpleTreeBean.nodeTitle}" id="selectedNode" />
</h:panelGrid>
</h:form>
`
But I have to diplay a folder which contains another folder and file. What changes I have to make to the code?
folder A -
| Folder B -file B.1
| file A.1
| file A.2