Hello again, I could isolate my problem. The tree2 works perfect when I access the content page directly.
Normally there is a login page before the content site. If I come from the login (so I had a request over JSF before) then the tree2 needs "one" following request before it open the nodes. Without this request the nodes will be closed as first. But why? Is this a known problem? The backing bean for the login page only returns a key for the navigation-cases in the faces-config. Thanks, Helge > -----Ursprüngliche Nachricht----- > Von: Nahrwold, Helge [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 29. März 2006 14:00 > An: [email protected] > Betreff: Problems with tree2 and facelets > > Hi, > > i need some help with Tree2 and Suns JSF RI with Facelets. > The tree2 is clientSideToggle="true" and (normally) showRootNode="false". > > I entered the site with a new browser window. I open some nodes and click > on > a commandLink. > After reload all opened nodes are closed again. Next time this is no > problem. > > #1 showRootNode is false > The actionListener of the commandLink is not called when I click on it... > > #2 showRootNode is true > The actionListener of the commandLink is called when I click on it... > > But I want no rootNode. I have tried the example from > http://www.irian.at/myfaces/tree2HideRoot.jsf but there is still the same > problem. > > Does anybody know a solution for my problem? > > Thanks for help, > Helge Nahrwold

