Unfortunately I wouldn’t count on
the Tree being very stable for this build. We’re working on getting it
back up to speed in the next drop. Did your own TreeDataProvider
implementation in 1.5? Right now the Tree only supports anonymous objects or
XML, it cannot take a regular class.
Matt
From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith Unnikrishnan
Sent: Wednesday, October 19, 2005
5:04 AM
To: [email protected]
Subject: [flexcoders] Flex2.0:
C:\dev\max\sdk\frameworks? ... a tree problem!
I was trying to port an
application that I had developed in 1.5 to 2.0.
I encountered the following error ... I could not
make any sense of this
... most of the related documentation that I
looked for said (not
available yet!) ...
Anyways, what was intriguing are the references to
this particular URL
([*C:\dev\max\sdk\frameworks\mx\controls\treeclasses\TreeDataProviderCollectionWrapperTreeDataProviderViewCursor*.as:688])
I do not have a folder structure like this ... is
it a bug ... or am I
missing something ....
The data for the tree is retrieved using a
webservice.
I would also mention that the tree displays after
I dismiss the error
... the tree displays OK ... but nothing happens
after that ... no
nodeOpen, nothing ...!
Error output below:
Regards
Sree
TypeError: Error #1010: undefined has no
properties.
at
mx.controls.treeclasses::TreeDataProviderCollectionWrapperTreeDataProviderViewCursor/TreeDataProviderCollectionWrapperTreeDataProviderViewCursor$1821$private::getParentStack()[C:\dev\max\sdk\frameworks\mx\controls\treeclasses\TreeDataProviderCollectionWrapperTreeDataProviderViewCursor.as:210]
at
mx.controls.treeclasses::TreeDataProviderCollectionWrapperTreeDataProviderViewCursor/isNodeBefore()[C:\dev\max\sdk\frameworks\mx\controls\treeclasses\TreeDataProviderCollectionWrapperTreeDataProviderViewCursor.as:231]
at
mx.controls.treeclasses::TreeDataProviderCollectionWrapperTreeDataProviderViewCursor/modelChanged()[C:\dev\max\sdk\frameworks\mx\controls\treeclasses\TreeDataProviderCollectionWrapperTreeDataProviderViewCursor.as:688]
at
flash.events::EventDispatcher/dispatchEvent()
at
mx.controls.treeclasses::TreeNode/updateViews()[C:\dev\max\sdk\frameworks\mx\controls\treeclasses\TreeNode.as:465]
at
mx.controls.treeclasses::TreeNode/addTreeNodeAt()[C:\dev\max\sdk\frameworks\mx\controls\treeclasses\TreeNode.as:354]
at
mx.controls.treeclasses::TreeNode/addTreeNode()[C:\dev\max\sdk\frameworks\mx\controls\treeclasses\TreeNode.as:321]
at mx.controls::Tree/addTreeNode()[C:\dev\max\sdk\frameworks\mx\controls\Tree.as:1822]
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Flex2.0: C:\dev\max\sdk\frameworks?... Matt Chotin
-