[flexcoders] Re: Cairngorm best practice with Tree data [f2b3]

2006-05-24 Thread Tim Hoff
I would think that if you don't want to replicate the server-side logic, you could just refresh the XMLListCollection data (new call) after the insertion has occured. The binding would update the view. If you are using the view to allow an insertion point, you would have to use

Re: [flexcoders] Re: Cairngorm best practice with Tree data [f2b3]

2006-05-24 Thread Graham Weldon
Hi Tim, I can refresh the XMLListCollection with a TreeDataCommand. This contacts the server and requests a full tree XML, which is then converted to a new XMLListCollection. If I use this method, the tree collapses to its initial state, which is undesirable. addChildAt() is the method I

[flexcoders] Re: Cairngorm best practice with Tree data [f2b3]

2006-05-24 Thread Tim Hoff
Yeah, I see your issues. I haven't needed to work with trees yet, so I wish you good luck. :) Tim --- In flexcoders@yahoogroups.com, Graham Weldon [EMAIL PROTECTED] wrote: Hi Tim, I can refresh the XMLListCollection with a TreeDataCommand. This contacts the server and requests a full