File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes unable to view primefaces tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "unable to view primefaces tree" Watch "unable to view primefaces tree" New topic
Author

unable to view primefaces tree

chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 188
Hi,

I am new to JSF so this is my first project.
My IDE is netbeans 7.0.1, Mojarra 2.1.1 and primefaces 2.2.1

I used the tree example via http://www.primefaces.org/showcase/ui/tree.jsf
While I manage to use other faclets from prime (for example p:button) the tree is not working
Can someone can please explained me what did I do wrong ?

Thanks



Pedro Henrique Pereira de Andrade
Greenhorn

Joined: Jul 05, 2005
Posts: 3

Replace "#{node}" to "#{treeBean.node}" and test.

Ok


----------------------------------
Thanks god for all you've done.
chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 188
still not working
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

*I am not sure* what you are trying to do. but looking at your code I can figure out one syntactic error.
change value="#{treeBean.Root}" to value="#{treeBean.root}" .also *guess you are missing var attribute for p:tree tag*

just try
chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 188
Thanks for the help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to view primefaces tree
 
Similar Threads
JSF Menu and tree components
Problem using UI:Tree
How to work with t:tree component
JSF tree component
<p:accordionPanel> component not rendered