function () {
			var oController;

			//step3: create view
			this._oView = sap.ui.view(this._oViewConfig);

			//step4: bind the view with the model
			if (this._oModel) {
				oController = this._oView.getController();

				//some factory requires pre-processing once the view and model are created
				if (oController && oController.connectToComponent) {
					oController.connectToComponent(this._oModel);
				}

				//can now apply the model and rely on the underlying factory logic
				this._oView.setModel(this._oModel, "objectPageLayoutMetadata");
			}

			return this._oView;
		}
function () {
			var oController;

			//step3: create view
			this._oView = sap.ui.view(this._oViewConfig);

			//step4: bind the view with the model
			if (this._oModel) {
				oController = this._oView.getController();

				//some factory requires pre-processing once the view and model are created
				if (oController && oController.connectToComponent) {
					oController.connectToComponent(this._oModel);
				}

				//can now apply the model and rely on the underlying factory logic
				this._oView.setModel(this._oModel, "objectPageLayoutMetadata");
			}

			return this._oView;
		}
function ( ) { var oController ; //step3: create view this . _oView = sap . ui . view ( this . _oViewConfig ) ; //step4: bind the view with the model if ( this . _oModel ) { oController = this . _oView . getController ( ) ; //some factory requires pre-processing once the view and model are created if ( oController && oController . connectToComponent ) { oController . connectToComponent ( this . _oModel ) ; } //can now apply the model and rely on the underlying factory logic this . _oView . setModel ( this . _oModel , "objectPageLayoutMetadata" ) ; } return this . _oView ; }
Create view corresponding to the chosen config
@returns {sap.ui.view} Created view
Create view corresponding to the chosen config
create the view and bind the model