Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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:

-projectContainer.MeasurementProject@46a09b
--Project Test 005
-projectContainer.MeasurementProject@6f19d5
--Project Test 06

etc

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
 
Let's go to the waterfront with this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!