<h:panelGrid columns="2" width="100%" columnClasses="col1,col2">
<rich:tree style="font-size:12px; width: 300px;" id="treeExample"
nodeSelectListener="#{treeComponentTest.actionEventOnRecursiveAdapter}"
ajaxSubmitSelection="true" ajaxSingle="true" switchType="ajax"
var="item" reRender="treeExample">
<rich:treeNodesAdaptor nodes="#{treeComponentTest.nodes}">
<rich:treeNode
changeExpandListener="#{treeComponentTest.actionEventOnRecursiveAdapter}" />
</rich:treeNodesAdaptor>
</rich:tree>
</h:panelGrid>
我担心的是我想每次从db生成treeNodeAdapter作为另一个适配器的节点的子节点,请帮助如何编写bean