As you can see, each node is also a command link that sends you to a new page, and this page uses whichever node has been selected to render the things you see.
It sends you to a page that has this:
SO the goal is, when a user clicks on the node, it first sends them to this new page that has the h:form from above. Then the outputtext is populated depending on the nodeSelectListener tag.
What happens now, is a user clicks on the node, he is sent to the new page, but the values are empty. Then once your on the page, if you click on the node a second time, it does render the data on the page like I want.
So essentially, what is happening is you have to click twice on a node to get the new page with all the necessary data. Once to get sent to the page, and a second time to actually render the data on this new page.
I need this to happen all in one click. One click sends you to the new page, and renders the data on the page, instead of two clicks. There must be a way for it to remember which node you clicked on to get sent to the new page.
True wisdom is in knowing you know nothing - Socrates