12 Feb 2007 1:10 PM #1
treepanel of yui-ext 0.40
i had checked the new 0.40 version of yui-ext and want to try the sample of treeview, especialy the reorder treepanel example. but, after i have included all the files like in jacks example i still get the following error:
Error: Tree has no properties
Source File: file:///****/yui/yui-ext-0.40/examples/tree/reorder.js
where i can find this tree object??? what file did i have to include???
pleaaase help me!!
thanks a lot
12 Feb 2007 1:31 PM #2
Which example are you using and where did you get the yui-ext.js file you're including? If you're looking at the 'Drag and Drop reordering' example, all the files are referenced on that page.
12 Feb 2007 1:47 PM #3
yeah i did use them!
i had them all in my page included, like this:
i know the last two i didnt have to, but i have thought that the TREE object is in here.. i realy dont know where the problem could be!!! ((
12 Feb 2007 1:48 PM #4
the yui-ext.js file is from release 0.33 and the example im using is the reorder treepanel from 0.40, with drag and drop functionality
pleaaaase help me!!!
12 Feb 2007 1:52 PM #5
13 Feb 2007 2:58 AM #6
so now i have all files downloaded and in the same path like the reorder.html... but the only thing i can see in tree-container is 'yui-ext'. no trees, no files, nothing. why is this??? please help me!
13 Feb 2007 4:27 AM #7
Re: yui-ext treepanelOriginally Posted by humpdi
20 Feb 2007 2:51 PM #8
If you're running this locally it won't work as it uses XHR to retrieve the nodes of the tree. Also, you'll probably want to open up the get-nodes.php file and make sure it's pointing to a valid path.
I'd also recommend using some sort of HTTP viewer like Firebug for Firefox or Fiddler for IE and seeing what the request/response activity looks like (assuming you're *not* trying to view it locally).
By dolittle in forum Ext 1.x: Help & DiscussionReplies: 5Last Post: 20 Feb 2007, 2:12 PM
By jack.slocum in forum Ext 2.x: Help & DiscussionReplies: 12Last Post: 20 Feb 2007, 4:13 AM
By manugoel2003 in forum Ext 1.x: BugsReplies: 2Last Post: 24 Jan 2007, 11:43 PM
By seldon in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 12 Jan 2007, 1:40 PM
By alex1er in forum Community DiscussionReplies: 2Last Post: 8 Jan 2007, 10:31 AM