Matt, I could not understand your question very clearly. But if it helps, my implementation of the tree was heavily based (if I rememeber right) on an example by Kevin Hoyt.
And the webservice I am using is the Amazon Web Service.

The app that I had developed still works as expected when using Flex 1.5.

Regards
Sree

Matt Chotin wrote:

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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to