Matias,
I'm not _the_ expert as well, but can't you use the body onload to execute the
backing bean methode to expand the tree.
Or could a hidden input field at the bottom of the page to which you bind a
method that handles the logic deal with it?
Kurt
on 1/3/2006 4:57 AM Matias Gomez Carabias stated:
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