Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Have a tree using a list of Objects as source, having jsf syntax issues

Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can get a tree to display using this list of java Objects, but I can't get it to look right.
Im getting very close now, I just need a bit of guidance. I have two different things that give me trees but not exactly what Im looking for. This is the first:

Now that gives me a tree that has the Object representations as the roots and then when you expand the nodes you see the actual project name. The tree looks like this:

--Project Test 005
--Project Test 06


or I have this displaying another tree that isnt exactly what I need:

now this display a tree where the project Names are the first thing you see, but there are no nodes to expand, it is just a list of the projects. I have tried a few things like adding another rich:treeNode or another hutputText, but I can't seem to get it any further.

So which one is on the right track and how can I fix it lol? Ill keep trying myself, but would love for someone to help me a,long here
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic