Ive been messing with this all day, and so far the best I have gotten is using h: outputText, and since this is a list it is printing out I just get this as the output:
[APosttest, three, Moved Tese, Matt Test Two, space Test, project name, matt, three, space remove, two, tash2, spaces2, WSN Pond Measurements, tash, Single Test, spaces, Test01, MDN, exampleProject1, DoubleTest, spaces2]
I need a way to remove the  and put those into a list going vertically down the page.
Maybe I need to change it out of a list, Im not sure?
edit - well i stumbled across one temporary solution that gives the look I am going for but no functionality...I just use another recursiveTreeNodeAdaptor and set showLines="false"
it looks like a list at least....
but I have the same problem Im having with the actual tree when I do that.
How do you make it where clicking on one of the nodes will do something, like send the user to another page?
I looked at the recursiveTreeNodeAdaptor javadoc and there is really nothing there to handle this.
I know the rich tree has to do more than just display the tree, there has to be some way to control what clicking on a node does right?
If you can answer either of these questions for me it should solvemy problem
Yeah I read those when I first got started and I just re read the one you linked. But I still cant get this to work.
From what I can see he uses just the String CD to bind to a dataList. I tried this with my last bt its just blank.
The only reason I keep trying to use this list is because it loads itself up with all the values.
If I just try to use the projectName String from the project class, it returns nothing becuase that value has not yet been loaded with any data. The only reason I keep trying to use this list is because by some miracle I got it to load the values into the list from the web service before my jsf pages try to use them.
I know this doesnt make much sense since there are so many things left out.
Im just tired and dont feel like doing this but I dont have any time left
As always talking through it here seems to be getting me closer....
maybe someone can give me the final nudge here?
So in my controller class I have my MeasurementProject measurementProjectCollection (this is the same as Cd cd in rich's example). With setter and getter. Plus a String project
Then I perform an action on both of these to change their values. The action being performed here is taking the data froma web service and binding it to these values:
Im not totally sure what is being bound to measurementProjectCollection, but it seems to be what i want, because when I print out the value of project it comes out as the very first project from the data service. ANd when I bind project to my managed bean and use that as an output on my page it does display this very first project. The problem is, there are multiple projects. So I mean Icould so String project1; project2, project3, etc etc and then use that for loop over and over to bind the different values, and then on my jsf page just have a lot of hutputText tags for each project1 - projectx. But this isnt very feasible, especially since the amount of projects will be changing. I could just do project1 - project100m because it is very unlikely there will be more than that per user, but you can see the trouble here.
So, in that for loop I can just bind the value returned over each iteration to a list, which is what I am doing for my tree. But this gets e back to square one.
If I just bind the list to my jsf page, the output is [project1, project2,projectx, etc etc]
So any idea what I should do here?
edit - I guess it comes down to teh fact that I need something to hold the multiple values for project, and be able to bind that to my jsf page, but make it come out in a nice list instead of just every value jumbled together between brackets