src/aria/templates/TemplateCtxt.js
function () {
            var container = this.getContainerDiv();
            var origCP = this._cfg.origClasspath ? this._cfg.origClasspath : this._cfg.classpath;

            var tmpCfg = {
                classpath : origCP,
                width : this._cfg.width,
                height : this._cfg.height,
                printOptions : this._cfg.printOptions,
                div : container,
                data : this._cfg.data,
                moduleCtrl : this.moduleCtrlPrivate, // target real module, and not the interface
                provideContext : true, // needed for the callback for the widget case, to restore mapping
                args : this._cfg.args
            };
            // moduleCtrl needs to be saved: it might be in toDispose of the template -> empty toDispose
            this._cfg.toDispose = [];
            return tmpCfg;
        }
function () {
            var container = this.getContainerDiv();
            var origCP = this._cfg.origClasspath ? this._cfg.origClasspath : this._cfg.classpath;

            var tmpCfg = {
                classpath : origCP,
                width : this._cfg.width,
                height : this._cfg.height,
                printOptions : this._cfg.printOptions,
                div : container,
                data : this._cfg.data,
                moduleCtrl : this.moduleCtrlPrivate, // target real module, and not the interface
                provideContext : true, // needed for the callback for the widget case, to restore mapping
                args : this._cfg.args
            };
            // moduleCtrl needs to be saved: it might be in toDispose of the template -> empty toDispose
            this._cfg.toDispose = [];
            return tmpCfg;
        }
function ( ) { var container = this . getContainerDiv ( ) ; var origCP = this . _cfg . origClasspath ? this . _cfg . origClasspath : this . _cfg . classpath ; var tmpCfg = { classpath : origCP , width : this . _cfg . width , height : this . _cfg . height , printOptions : this . _cfg . printOptions , div : container , data : this . _cfg . data , moduleCtrl : this . moduleCtrlPrivate , // target real module, and not the interface provideContext : true , // needed for the callback for the widget case, to restore mapping args : this . _cfg . args } ; // moduleCtrl needs to be saved: it might be in toDispose of the template -> empty toDispose this . _cfg . toDispose = [ ] ; return tmpCfg ; }
Return the configuration object to use with Aria.loadTemplate to reload this template. With the result of
this method, it is possible to call this._callLoadTemplate.
@return {aria.templates.CfgBeans:LoadTemplateCfg}
@protected
Return the configuration object to use with Aria . loadTemplate to reload this template . With the result of this method it is possible to call this . _callLoadTemplate .