src/sap.ui.fl/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js
function (oModelData, oPage, oMetadata) {
			oModelData.metadata = oMetadata;
			this.oSelectedContentModel.setData(oModelData);
			var oCore = sap.ui.getCore();
			var sIconTabBarId = this.getView().createId("contentDetailsIconTabBar");
			var oIconTabBar = oCore.getElementById(sIconTabBarId);
			if (oIconTabBar){
				var oFirstIconTabBarItem = oIconTabBar.getItems()[0];
				if (oIconTabBar.getSelectedKey() !== oFirstIconTabBarItem.getId()) {
					oIconTabBar.setSelectedItem(oFirstIconTabBarItem);
				}
			}
			oPage.setBusy(false);
		}
function (oModelData, oPage, oMetadata) {
			oModelData.metadata = oMetadata;
			this.oSelectedContentModel.setData(oModelData);
			var oCore = sap.ui.getCore();
			var sIconTabBarId = this.getView().createId("contentDetailsIconTabBar");
			var oIconTabBar = oCore.getElementById(sIconTabBarId);
			if (oIconTabBar){
				var oFirstIconTabBarItem = oIconTabBar.getItems()[0];
				if (oIconTabBar.getSelectedKey() !== oFirstIconTabBarItem.getId()) {
					oIconTabBar.setSelectedItem(oFirstIconTabBarItem);
				}
			}
			oPage.setBusy(false);
		}
function ( oModelData , oPage , oMetadata ) { oModelData . metadata = oMetadata ; this . oSelectedContentModel . setData ( oModelData ) ; var oCore = sap . ui . getCore ( ) ; var sIconTabBarId = this . getView ( ) . createId ( "contentDetailsIconTabBar" ) ; var oIconTabBar = oCore . getElementById ( sIconTabBarId ) ; if ( oIconTabBar ) { var oFirstIconTabBarItem = oIconTabBar . getItems ( ) [ 0 ] ; if ( oIconTabBar . getSelectedKey ( ) !== oFirstIconTabBarItem . getId ( ) ) { oIconTabBar . setSelectedItem ( oFirstIconTabBarItem ) ; } } oPage . setBusy ( false ) ; }
Handler if content metadata was received;
Sets the received data to the current content model, updates the icon tab bar, and releases the busy mode of the current page.
@param {Object} oModelData - model data of current page
@param {Object} oPage - current page used to set display busy mode on/off
@param {Object} oMetadata - metadata which is received from <code>LRepConnector</code> "getContent" promise
@private
Handler if content metadata was received ; Sets the received data to the current content model updates the icon tab bar and releases the busy mode of the current page .