public/javascripts/yui/treeview/treeview-debug.js
function() {

        this.logger.log("rendering children for " + this.index);

        var node = this;

        if (this.isDynamic() && !this.dynamicLoadComplete) {
            this.isLoading = true;
            this.tree.locked = true;

            if (this.dataLoader) {
                this.logger.log("Using dynamic loader defined for this node");

                setTimeout( 
                    function() {
                        node.dataLoader(node, 
                            function() { 
                                node.loadComplete(); 
                            });
                    }, 10);
                
            } else if (this.tree.root.dataLoader) {
                this.logger.log("Using the tree-level dynamic loader");

                setTimeout( 
                    function() {
                        node.tree.root.dataLoader(node, 
                            function() { 
                                node.loadComplete(); 
                            });
                    }, 10);

            } else {
                this.logger.log("no loader found");
                return "Error: data loader not found or not specified.";
            }

            return "";

        } else {
            return this.completeRender();
        }
    }
function() {

        this.logger.log("rendering children for " + this.index);

        var node = this;

        if (this.isDynamic() && !this.dynamicLoadComplete) {
            this.isLoading = true;
            this.tree.locked = true;

            if (this.dataLoader) {
                this.logger.log("Using dynamic loader defined for this node");

                setTimeout( 
                    function() {
                        node.dataLoader(node, 
                            function() { 
                                node.loadComplete(); 
                            });
                    }, 10);
                
            } else if (this.tree.root.dataLoader) {
                this.logger.log("Using the tree-level dynamic loader");

                setTimeout( 
                    function() {
                        node.tree.root.dataLoader(node, 
                            function() { 
                                node.loadComplete(); 
                            });
                    }, 10);

            } else {
                this.logger.log("no loader found");
                return "Error: data loader not found or not specified.";
            }

            return "";

        } else {
            return this.completeRender();
        }
    }
function ( ) { this . logger . log ( "rendering children for " + this . index ) ; var node = this ; if ( this . isDynamic ( ) && ! this . dynamicLoadComplete ) { this . isLoading = true ; this . tree . locked = true ; if ( this . dataLoader ) { this . logger . log ( "Using dynamic loader defined for this node" ) ; setTimeout ( function ( ) { node . dataLoader ( node , function ( ) { node . loadComplete ( ) ; } ) ; } , 10 ) ; } else if ( this . tree . root . dataLoader ) { this . logger . log ( "Using the tree-level dynamic loader" ) ; setTimeout ( function ( ) { node . tree . root . dataLoader ( node , function ( ) { node . loadComplete ( ) ; } ) ; } , 10 ) ; } else { this . logger . log ( "no loader found" ) ; return "Error: data loader not found or not specified." ; } return "" ; } else { return this . completeRender ( ) ; } }
Generates the markup for the child nodes.  This is not done until the node
is expanded.
@method renderChildren
@return {string} the html for this node's children
@private
Generates the markup for the child nodes . This is not done until the node is expanded .