When the user browses to the application, he must first make a selection of which data he needs. When he presses ok, the second page appears containing a rich:tree. Next to the three ar some charts which are rendered in function of what was clicked/selected in the tree.
What I like to do is when the second page initially loads after selection, the first node becomes selected and the charts are rendered.
I've tried googling and found something on TreeStateAdvisor, but that doesn't seem to work.