If you got the data from the server each item should already be unique.  If you 
manipulate the data into a hierarchical set then you'll have to do the wrapping 
there.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of - -
Sent: Monday, August 24, 2009 8:26 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Cannot select identical item in my tree 
component...


Hi Amy, if I get the entire ArrayCollection from the Java backend, do I have to 
go trough the entire ArrayCollection to wrap each object? Is there an automatic 
procedure?

Thanks again! :)

________________________________
From: droponrcll <amyblankens...@bellsouth.net>
To: flexcoders@yahoogroups.com
Sent: Friday, August 21, 2009 5:52:01 PM
Subject: [flexcoders] Re: Cannot select identical item in my tree component...



--- In flexcod...@yahoogro ups.com<mailto:flexcoders%40yahoogroups.com>, - - 
<sailorsea21@ ...> wrote:
>
> Hi Alex, if I need both objects to be identical, how can I assign different 
> UID?
>
> If I double click the object on the parent node, I enable a view to edit the 
> object.
> The same object is found nested deeper in the tree, if I double click it, it 
> must edit the same object on the parent branch.

Create a "wrapper" object with a different UID that the tree sees that contains 
the same object.

HTH;

Amy

________________________________
The new Internet Explorer(r) 8 - Faster, safer, easier. Optimized for Yahoo! 
Get it Now for Free!<http://downloads.yahoo.com/ca/internetexplorer/>

Reply via email to