Loading ...
Sorry, an error occurred while loading the content.
 

Re: [ydn-javascript] Dom is undefined using treeview and after upgrading from 2.5.1 to 2.6.0

Expand Messages
  • Eric Miraglia
    dufferdo25, It s possible that you re missing the Dom Collection dependency. Make sure that you have all the required files -- for example, the following
    Message 1 of 3 , Jan 6, 2009
      dufferdo25,

      It's possible that you're missing the Dom Collection dependency.  Make sure that you have all the required files -- for example, the following script tag would serve for all your TreeView JavaScript dependencies:


      You can play around with this and add optional dependencies using the Configurator:


      If that doesn't solve the problem, please send out a link.

      Regards,
      Eric


      On Jan 6, 2009, at 8:25 AM, dufferdo25 wrote:

      Hello all,
      I am trying to upgrade yui from 2.5.1 to 2.6.0 and am running into an
      issue that is throwing a firebug error---> Dom is undefined.

      It points to the following lines in treeview-debug. js
      line 38:

      /**
      * Initializes the tree
      * @method init
      * @parm {string|HTMLElement } id the id of the element that will
      hold the tree
      * @private
      */
      init: function(id) {
      this._el = Dom.get(id);
      this.id = Dom.generateId( this._el, "yui-tv-auto- id-");

      Specifically points to this._el = Dom.get(id);

      Anyone have any ideas?
      Thanks alot!


    Your message has been successfully submitted and would be delivered to recipients shortly.