Re: [flexcoders] Cannot select identical item in my tree component...

2009-08-20 Thread - -
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.

Thanks.

-David





From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Thursday, August 20, 2009 1:47:10 AM
Subject: RE: [flexcoders] Cannot select identical item in my tree component...

  
Each object must have a unique UID.
 
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs. adobe.com/ aharui
 
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of whiskerstasters
Sent: Wednesday, August 19, 2009 1:06 PM
To: flexcod...@yahoogro ups.com
Subject: [flexcoders] Cannot select identical item in my tree component...
 
  
Hi everyone, I'm having an issue with my tree component.
I use an arrayCollection for my dataProvider. 
I have the same object in my arrayCollection nested at different levels.

I cannot select this object at different levels in my tree, it always select 
the topmost nested object.

Is there a way to work around this? I would like to be able to select an item 
even though the same item is found at different nested levels within the tree.

Thanks!



  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

RE: [flexcoders] Cannot select identical item in my tree component...

2009-08-20 Thread Alex Harui
It is a Tree, not a DAG.  The same node cannot appear in a tree.

You can have proxy objects in the collection that update a shared object.

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: Thursday, August 20, 2009 8:35 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cannot select identical item in my tree component...


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.

Thanks.

-David


From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Thursday, August 20, 2009 1:47:10 AM
Subject: RE: [flexcoders] Cannot select identical item in my tree component...


Each object must have a unique UID.

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

From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of whiskerstasters
Sent: Wednesday, August 19, 2009 1:06 PM
To: flexcod...@yahoogro ups.com
Subject: [flexcoders] Cannot select identical item in my tree component...



Hi everyone, I'm having an issue with my tree component.
I use an arrayCollection for my dataProvider.
I have the same object in my arrayCollection nested at different levels.

I cannot select this object at different levels in my tree, it always select 
the topmost nested object.

Is there a way to work around this? I would like to be able to select an item 
even though the same item is found at different nested levels within the tree.

Thanks!


Looking for the perfect gift? Give the gift of 
Flickr!http://www.flickr.com/gift/



RE: [flexcoders] Cannot select identical item in my tree component...

2009-08-19 Thread Alex Harui
Each object must have a unique UID.

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 whiskerstasters
Sent: Wednesday, August 19, 2009 1:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cannot select identical item in my tree component...



Hi everyone, I'm having an issue with my tree component.
I use an arrayCollection for my dataProvider.
I have the same object in my arrayCollection nested at different levels.

I cannot select this object at different levels in my tree, it always select 
the topmost nested object.

Is there a way to work around this? I would like to be able to select an item 
even though the same item is found at different nested levels within the tree.

Thanks!