Re: [flexcoders] Tree - itemClose and change

2010-09-03 Thread Richard Rodseth
I was able to work around this issue by accessing selectedItem and updating my presentation model during the itemClose operation. But to answer your question, it looks like I get two valueCommits when closing a node. On Thu, Sep 2, 2010 at 10:58 PM, Alex Harui aha...@adobe.com wrote: I

Re: [flexcoders] Tree - itemClose and change

2010-09-03 Thread Alex Harui
ValueCommit is supposedly for “any changes to selection”, the change event is supposedly only for user-initiated changes to selection. The binding system listens to both. The change of selection on close is currently seen as programmatic since the user didn’t directly do it, but I think there

Re: [flexcoders] Tree - itemClose and change

2010-09-03 Thread Richard Rodseth
Thanks. I'll consider using valueCommit in this case. I'd only used it in the context of things like text fields before. On Fri, Sep 3, 2010 at 1:06 PM, Alex Harui aha...@adobe.com wrote: ValueCommit is supposedly for “any changes to selection”, the change event is supposedly only for

Re: [flexcoders] Tree - itemClose and change

2010-09-02 Thread Alex Harui
I thought there was already a bug on that. Do you get a valueCommit? On 9/2/10 4:23 PM, Richard Rodseth rrods...@gmail.com wrote: It appears that when you close a node in a tree control, the selection (of a contained node) is lost, but no change event is fired. Does this sound like a