Kurt, thanks for your reply. The htmlTree is already bound to the component. What I mean is when should I call the expandAll(), cuz I only want to show it expanded when the page loads for the first time, after that, I want the tree to be expanded or collapsed by the client.
Thanks a lot Matias -----Original Message----- From: Kurt Edegger [mailto:[EMAIL PROTECTED] Sent: Monday, January 02, 2006 6:15 PM To: MyFaces Discussion Subject: Re: Tree2 startup Question- Hi Matias, Happy New Year to you as well. To show the tree2 expanded bind a htmlTree to the component. With this you can use htmlTree.expandAll() to show the tree completely expanded. Hope that helps. Kurt on 1/2/2006 5:46 AM Matias Gomez Carabias stated: > Hi guys, first of all happy new year. > > Here's my question, is there anyway to show the tree2 expanded the first > time. I mean the tree expanded only when the page loads, after that, the > behavior should be as usual. > > Thanks a lot > > Matias > >

