• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 h:outputText, 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic