Results 1 to 4 of 4

Thread: "YAHOO.util.Connect has no properties"

  1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    12
    Vote Rating
    0
      0  

    Default "YAHOO.util.Connect has no properties"

    I am trying to load from an XML file and am not using the paging functionality. Here is a small excerpt of the relevant code:

    //------------------------------
    var dataModel = new YAHOO.ext.grid.XMLDataModel({
    tagName: 'Document',
    totalTag: 'TotalCount',
    id: 'doc_id',
    fields: ['filename', 'md5']
    });
    dataModel.load('/yui');

    //-------------------------------

    According to Firebug I get

    YAHOO.util.Connect has no properties at yui-ext.js line 291.

    Any thoughts on what the problem could be? The xml seems to be served up from /yui correctly. I am a bit new to Javascript so my apologies if I am missing something obvious.

    -b

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    YAHOO.util.Connect is defined in connection.js of the Yahoo! UI download.

    Jack

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Thanks Jack, brain freeze on my part. I wish Javascript could import its own dependencies :-)

    -b

  4. #4
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    Sure would be nice wouldn't it?

Similar Threads

  1. YAHOO.util.Connect.asyncRequest Alternative
    By manugoel2003 in forum Community Discussion
    Replies: 15
    Last Post: 24 May 2007, 5:42 AM
  2. JSUnit and YAHOO.util.Connect.asyncRequest.
    By rad_nq in forum Community Discussion
    Replies: 0
    Last Post: 26 Mar 2007, 10:00 AM
  3. doubts using YAHOO.util.Connect?
    By franklt69 in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 9 Mar 2007, 5:23 AM
  4. YAHOO.ext.util has no properties
    By griffiti93 in forum Ext 1.x: Help & Discussion
    Replies: 12
    Last Post: 26 Jan 2007, 10:28 AM
  5. YAHOO.util.Connect questions.....
    By genius551v in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 21 Nov 2006, 10:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •