I'm really confused about the <p:tree> and <p:treeNode> tags. I the online examples the tags are described, but if I try to use the <p:treeNode> to access the "node". I get an message from the system:
Code: Select all
<p:treeNode> Tag Library supports namespace: http://primefaces.prime.com.tr/ui, but no tag was defined for name: treeNode.
Also the "var" is not anymore supported in the <p:tree>
Code: Select all
<p:tree value="#{treeBean.root}" var="node">
<p:treeNode>
<h:outputText value="#{node}"/>
</p:treeNode>
</p:tree>
<p:tree> itself is running fine. I builded a tree with "string", this is working. If I add my one objects, they also will be displayed (the hash-code of the object
ula.test.jpa.model.NodeGroup@84f665). From this object I want access the information like #{node.name}.
I only have the added the primefaces-2.0.0.RC.jar to the web libs. Do I need more? I use a small "css", without any PF/YUI entries.
ula