docs: function (tplCfg) {
              if (this._cfgOk) {
                  var cfg = this._cfg;
  
                  for (var i = 0, len = this.__inherithCfg.length; i < len; i += 1) {
                      var property = this.__inherithCfg[i];
                      if (!tplCfg.hasOwnProperty(property)) {
                          tplCfg[property] = cfg[property];
                      }
                  }
  
                  if (cfg.defaultTemplate) {
                      // allow the customization of the template:
                      tplCfg.defaultTemplate = cfg.defaultTemplate;
                  }
                  if (cfg.id) {
                      tplCfg.id = cfg.id + "_t_";
                  }
                  var tplWidget = this._tplWidget = new ariaWidgetsTemplate(tplCfg, this._context, this._lineNumber);
                  var extraAttributes = this._extraAttributes;
                  if (extraAttributes) {
                      tplWidget.addExtraAttributes(extraAttributes);
                  }
  
                  tplWidget.tplLoadCallback = {
                      fn : this._tplLoadCallback,
                      scope : this
                  };
              }
          }