RE: [flexcoders] Re: Problem with type casting a TreedataProvider back to array...

2005-11-10 Thread Arunkumar S
I have try this first it self, when i tried this even the Root node "Base" is not displayed and so i tried with []. Ifound out a work around for this problem. I'm modifying the treeDetails directly whenever i'm moving the nodes of the tree. When i send back the treeDetails to Java, it works

RE: [flexcoders] Re: Problem with type casting a TreedataProvider back to array...

2005-11-09 Thread Arunkumar S
I've done the same thing as you said, if you look at the code once again you can clearly note that treeDetails is an Object and not an array, yet can't find the solution for it. For your referance please see the mxml file below. Regards, Arun ?xml version="1.0"

RE: [flexcoders] Re: Problem with type casting a TreedataProvider back to array...

2005-11-08 Thread Matt Chotin
You need to make sure that the dataProvider you assign to the Tree is single Object, not an array. So where you have treeDetails that should not be an Array but perhaps just the object. I would then also wait to assign the Tree.dataProvider until the result has come back. That way you

[flexcoders] Re: Problem with type casting a TreedataProvider back to array...

2005-11-07 Thread m_chotin
can you re-post the file please? macromedia started bouncing flexcoders mails today but i think we're back. --- In flexcoders@yahoogroups.com, Arunkumar S [EMAIL PROTECTED] wrote: Thanks for your reply Matt... Your code looks to solve the typecasting problem. But the tree is not visible as