src/sap.uxap/src/sap/uxap/component/Component.js
function () {

			//step1: create model from configuration
			this._oModel = null;               //internal component model
			this._oViewConfig = {              //internal view configuration
				viewData: {
					component: this
				}
			};

			//step2: load model from the component configuration
			switch (this.oComponentData.mode) {
				case ObjectPageConfigurationMode.JsonURL:
					// jsonUrl bootstraps the ObjectPageLayout on a json config url jsonConfigurationURL
					// case 1: load from an XML view + json for the object page layout configuration
					this._oModel = new UIComponent(this.oComponentData.jsonConfigurationURL);
					this._oViewConfig.viewName = "sap.uxap.component.ObjectPageLayoutUXDrivenFactory";
					this._oViewConfig.type = ViewType.XML;
					break;
				case ObjectPageConfigurationMode.JsonModel:
					// JsonModel bootstraps the ObjectPageLayout from the external model objectPageLayoutMedatadata
					this._oViewConfig.viewName = "sap.uxap.component.ObjectPageLayoutUXDrivenFactory";
					this._oViewConfig.type = ViewType.XML;
					break;
				default:
					Log.error("UxAPComponent :: missing bootstrap information. Expecting one of the following: JsonURL, JsonModel and FacetsAnnotation");
			}
			//create the UIComponent
			UIComponent.prototype.init.call(this);
		}
function () {

			//step1: create model from configuration
			this._oModel = null;               //internal component model
			this._oViewConfig = {              //internal view configuration
				viewData: {
					component: this
				}
			};

			//step2: load model from the component configuration
			switch (this.oComponentData.mode) {
				case ObjectPageConfigurationMode.JsonURL:
					// jsonUrl bootstraps the ObjectPageLayout on a json config url jsonConfigurationURL
					// case 1: load from an XML view + json for the object page layout configuration
					this._oModel = new UIComponent(this.oComponentData.jsonConfigurationURL);
					this._oViewConfig.viewName = "sap.uxap.component.ObjectPageLayoutUXDrivenFactory";
					this._oViewConfig.type = ViewType.XML;
					break;
				case ObjectPageConfigurationMode.JsonModel:
					// JsonModel bootstraps the ObjectPageLayout from the external model objectPageLayoutMedatadata
					this._oViewConfig.viewName = "sap.uxap.component.ObjectPageLayoutUXDrivenFactory";
					this._oViewConfig.type = ViewType.XML;
					break;
				default:
					Log.error("UxAPComponent :: missing bootstrap information. Expecting one of the following: JsonURL, JsonModel and FacetsAnnotation");
			}
			//create the UIComponent
			UIComponent.prototype.init.call(this);
		}
function ( ) { //step1: create model from configuration this . _oModel = null ; //internal component model this . _oViewConfig = { //internal view configuration viewData : { component : this } } ; //step2: load model from the component configuration switch ( this . oComponentData . mode ) { case ObjectPageConfigurationMode . JsonURL : // jsonUrl bootstraps the ObjectPageLayout on a json config url jsonConfigurationURL // case 1: load from an XML view + json for the object page layout configuration this . _oModel = new UIComponent ( this . oComponentData . jsonConfigurationURL ) ; this . _oViewConfig . viewName = "sap.uxap.component.ObjectPageLayoutUXDrivenFactory" ; this . _oViewConfig . type = ViewType . XML ; break ; case ObjectPageConfigurationMode . JsonModel : // JsonModel bootstraps the ObjectPageLayout from the external model objectPageLayoutMedatadata this . _oViewConfig . viewName = "sap.uxap.component.ObjectPageLayoutUXDrivenFactory" ; this . _oViewConfig . type = ViewType . XML ; break ; default : Log . error ( "UxAPComponent :: missing bootstrap information. Expecting one of the following: JsonURL, JsonModel and FacetsAnnotation" ) ; } //create the UIComponent UIComponent . prototype . init . call ( this ) ; }
initialize the view containing the objectPageLayout
initialize the view containing the objectPageLayout