1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    218
    Vote Rating
    0
    humpdi is on a distinguished road

      0  

    Default treepanel of yui-ext 0.40

    treepanel of yui-ext 0.40


    hey guys!

    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
    Line: 7

    where i can find this tree object??? what file did i have to include???

    pleaaase help me!!

    thanks a lot

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    2
    tryanDLS is on a distinguished road

      0  

    Default


    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.

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    218
    Vote Rating
    0
    humpdi is on a distinguished road

      0  

    Default yeah i did use them!

    yeah i did use them!


    i had them all in my page included, like this:

    <script type="text/javascript" src="../../../build/utilities/utilities.js"></script>
    <script type="text/javascript" src="../../yui-ext.js"></script>
    <script type="text/javascript" src="reorder.js"></script>

    <script type="text/javascript" src="../../src/data/Tree.js"></script>
    <script type="text/javascript" src="../../src/tree/TreeNode.js"></script>


    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!!! ((

  4. #4
    Ext User
    Join Date
    Mar 2007
    Posts
    218
    Vote Rating
    0
    humpdi is on a distinguished road

      0  

    Default add

    add


    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!!!

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    2
    tryanDLS is on a distinguished road

      0  

    Default


    Well, there you go. The tree is new to .40, so you'll have to pull the yui-ext.js file off that page.

  6. #6
    Ext User
    Join Date
    Mar 2007
    Posts
    218
    Vote Rating
    0
    humpdi is on a distinguished road

      0  

    Default yui-ext treepanel

    yui-ext treepanel


    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!

  7. #7
    Ext Premium Member BernardChhun's Avatar
    Join Date
    Mar 2007
    Location
    Quebec, Canada
    Posts
    831
    Vote Rating
    2
    BernardChhun will become famous soon enough

      0  

    Default Re: yui-ext treepanel

    Re: yui-ext treepanel


    Quote Originally Posted by humpdi
    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!
    haven't you looked inside the yui-ext.js file? the treePanel's description is somewhere in there so you don't need any other file.

  8. #8
    Sencha - Community Support Team JeffHowden's Avatar
    Join Date
    Mar 2007
    Location
    Forest Grove, OR
    Posts
    1,038
    Vote Rating
    1
    JeffHowden is on a distinguished road

      0  

    Default


    @humpdi

    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).

Similar Threads

  1. TreePanel
    By dolittle in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 20 Feb 2007, 2:12 PM
  2. TreePanel not functioning
    By jack.slocum in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 20 Feb 2007, 4:13 AM
  3. Bug in new TreePanel
    By manugoel2003 in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 24 Jan 2007, 11:43 PM
  4. TreePanel
    By seldon in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 12 Jan 2007, 1:40 PM
  5. new TreePanel
    By alex1er in forum Community Discussion
    Replies: 2
    Last Post: 8 Jan 2007, 10:31 AM

Thread Participants: 3

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar