问题:
|
Unsupported tree node type:default primeface |
|
<p:tree selectionMode="checkbox" value="#{permissionBean.rootNode}" selection="#{permissionBean.selectedNodes}" var="node" ></p:tree> |
解决:
需要<p:treeNode >
|
<p:tree selectionMode="checkbox" value="#{permissionBean.rootNode}" selection="#{permissionBean.selectedNodes}" var="node" > <p:treeNode > <h:outputText value="#{node}" /> </p:treeNode> </p:tree> |
参考: