src/aria/pageEngine/PageEngine.js
function (pageRequest, cb) {
            var pageId = pageRequest.pageId;
            var forceReload = pageRequest.forceReload;
            if (!forceReload && pageId && pageId == this.currentPageId) {
                this.$callback(cb);
                if (this._navigationManager) {
                    this._navigationManager.update(pageRequest);
                    ariaUtilsJson.setValue(this._data, "pageInfo", pageRequest);
                }
            } else {
                this._previousPageCSS = this._currentPageCSS;
                this._currentPageCSS = [];
                this._pageProvider.loadPageDefinition(pageRequest, {
                    onsuccess : {
                        fn : this._getPageDependencies,
                        scope : this,
                        args : {
                            pageRequest : pageRequest,
                            cb : cb
                        }
                    },
                    onfailure : this._getErrorCallbackConfig([this.PAGE_NOT_AVAILABLE, pageId])
                });
            }
        }
function (pageRequest, cb) {
            var pageId = pageRequest.pageId;
            var forceReload = pageRequest.forceReload;
            if (!forceReload && pageId && pageId == this.currentPageId) {
                this.$callback(cb);
                if (this._navigationManager) {
                    this._navigationManager.update(pageRequest);
                    ariaUtilsJson.setValue(this._data, "pageInfo", pageRequest);
                }
            } else {
                this._previousPageCSS = this._currentPageCSS;
                this._currentPageCSS = [];
                this._pageProvider.loadPageDefinition(pageRequest, {
                    onsuccess : {
                        fn : this._getPageDependencies,
                        scope : this,
                        args : {
                            pageRequest : pageRequest,
                            cb : cb
                        }
                    },
                    onfailure : this._getErrorCallbackConfig([this.PAGE_NOT_AVAILABLE, pageId])
                });
            }
        }
function ( pageRequest , cb ) { var pageId = pageRequest . pageId ; var forceReload = pageRequest . forceReload ; if ( ! forceReload && pageId && pageId == this . currentPageId ) { this . $callback ( cb ) ; if ( this . _navigationManager ) { this . _navigationManager . update ( pageRequest ) ; ariaUtilsJson . setValue ( this . _data , "pageInfo" , pageRequest ) ; } } else { this . _previousPageCSS = this . _currentPageCSS ; this . _currentPageCSS = [ ] ; this . _pageProvider . loadPageDefinition ( pageRequest , { onsuccess : { fn : this . _getPageDependencies , scope : this , args : { pageRequest : pageRequest , cb : cb } } , onfailure : this . _getErrorCallbackConfig ( [ this . PAGE_NOT_AVAILABLE , pageId ] ) } ) ; } }
Navigate to a specific page
@param {aria.pageEngine.CfgBeans:PageNavigationInformation} pageRequest
@param {aria.core.CfgBeans:Callback} cb To be called when the navigation is complete
Navigate to a specific page