Ok I have working with the Tree to display a list of files for to users.
There are two branches. Each labeled with the user name. Any files they
have uploaded are listed under there branch.

I will have an upload file button as part of the view. When the users
uploads a file I fire off an AMFPHP call to get the new file list data
so that I can update the tree with the new files name.

Here is the issue that I am running into. I am storing the Tree's
openItems property into an Array because after the user uploads the file
and the dataProvider gets updated the branches close. I would like the
user to be presented with the branches they had open before they
uploaded the file.

Ever time a branch is open I say myArray = mytree.openItems;

If I put a button all the stage and on the click I say mytree.openItems
= myArray; The tree opens the branches stored in the Array. If I make an
AMF Call and the dataProvider changes the same function for setting the
openItems proporty does not work.

I even tried using mytree.validateNow() before I set the openItems
propory.

Anyone have thoughts on how to make this work. Seams like a bug to me
but I am not sure.

-Matthew

Reply via email to