src/aria/pageEngine/PageEngine.js
function (cfg, args) {
            var valid = this.isConfigValid(cfg, "aria.pageEngine.CfgBeans.PageDefinition", this.INVALID_PAGE_DEFINITION);
            if (!valid) {
                this.$callback(args.cb);
                return;
            }

            var pageConfigHelper = this._getPageConfigHelper(cfg);
            ariaUtilsJson.inject(pageConfigHelper.getMenus(), this._siteConfigHelper.getAppData().menus);
            this._pageConfigHelper = pageConfigHelper;
            this._lazyContent = true;
            this._loadPageDependencies({
                lazy : false,
                pageId : cfg.pageId,
                cb : {
                    fn : this._displayPage,
                    scope : this,
                    args : {
                        cb : args.cb,
                        pageConfig : cfg,
                        pageRequest : args.pageRequest
                    }
                }
            });

        }
function (cfg, args) {
            var valid = this.isConfigValid(cfg, "aria.pageEngine.CfgBeans.PageDefinition", this.INVALID_PAGE_DEFINITION);
            if (!valid) {
                this.$callback(args.cb);
                return;
            }

            var pageConfigHelper = this._getPageConfigHelper(cfg);
            ariaUtilsJson.inject(pageConfigHelper.getMenus(), this._siteConfigHelper.getAppData().menus);
            this._pageConfigHelper = pageConfigHelper;
            this._lazyContent = true;
            this._loadPageDependencies({
                lazy : false,
                pageId : cfg.pageId,
                cb : {
                    fn : this._displayPage,
                    scope : this,
                    args : {
                        cb : args.cb,
                        pageConfig : cfg,
                        pageRequest : args.pageRequest
                    }
                }
            });

        }
function ( cfg , args ) { var valid = this . isConfigValid ( cfg , "aria.pageEngine.CfgBeans.PageDefinition" , this . INVALID_PAGE_DEFINITION ) ; if ( ! valid ) { this . $callback ( args . cb ) ; return ; } var pageConfigHelper = this . _getPageConfigHelper ( cfg ) ; ariaUtilsJson . inject ( pageConfigHelper . getMenus ( ) , this . _siteConfigHelper . getAppData ( ) . menus ) ; this . _pageConfigHelper = pageConfigHelper ; this . _lazyContent = true ; this . _loadPageDependencies ( { lazy : false , pageId : cfg . pageId , cb : { fn : this . _displayPage , scope : this , args : { cb : args . cb , pageConfig : cfg , pageRequest : args . pageRequest } } } ) ; }
Callback for loading the page dependencies after loading the page description while doing navigation.
@param {aria.pageEngine.CfgBeans:PageDefinition} cfg Page configuration
@param {Object} args Contains the pageId and the callback
Callback for loading the page dependencies after loading the page description while doing navigation .