src/sap.ui.fl/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js
function (oRouteMatch) {
			var that = this;
			var mRouteArguments = oRouteMatch.getParameter("arguments");

			var oModelData = {};
			oModelData.layer = mRouteArguments.layer;
			oModelData.namespace = decodeURIComponent(mRouteArguments.namespace);
			oModelData.fileName = mRouteArguments.fileName;
			oModelData.fileType = mRouteArguments.fileType;

			// correct namespace
			if (oModelData.namespace[oModelData.namespace.length - 1] !== "/") {
				oModelData.namespace += "/";
			}
			var sContentSuffix = oModelData.namespace + oModelData.fileName + "." + oModelData.fileType;

			var oPage = that.getView().getContent()[0];
			oPage.setBusy(true);

			return LRepConnector.getContent(oModelData.layer, sContentSuffix, null, null, true).then(
				that._onContentReceived.bind(that, oModelData, oPage, sContentSuffix),
				function () {
					oPage.setBusy(false);
				}
			);
		}
function (oRouteMatch) {
			var that = this;
			var mRouteArguments = oRouteMatch.getParameter("arguments");

			var oModelData = {};
			oModelData.layer = mRouteArguments.layer;
			oModelData.namespace = decodeURIComponent(mRouteArguments.namespace);
			oModelData.fileName = mRouteArguments.fileName;
			oModelData.fileType = mRouteArguments.fileType;

			// correct namespace
			if (oModelData.namespace[oModelData.namespace.length - 1] !== "/") {
				oModelData.namespace += "/";
			}
			var sContentSuffix = oModelData.namespace + oModelData.fileName + "." + oModelData.fileType;

			var oPage = that.getView().getContent()[0];
			oPage.setBusy(true);

			return LRepConnector.getContent(oModelData.layer, sContentSuffix, null, null, true).then(
				that._onContentReceived.bind(that, oModelData, oPage, sContentSuffix),
				function () {
					oPage.setBusy(false);
				}
			);
		}
function ( oRouteMatch ) { var that = this ; var mRouteArguments = oRouteMatch . getParameter ( "arguments" ) ; var oModelData = { } ; oModelData . layer = mRouteArguments . layer ; oModelData . namespace = decodeURIComponent ( mRouteArguments . namespace ) ; oModelData . fileName = mRouteArguments . fileName ; oModelData . fileType = mRouteArguments . fileType ; // correct namespace if ( oModelData . namespace [ oModelData . namespace . length - 1 ] !== "/" ) { oModelData . namespace += "/" ; } var sContentSuffix = oModelData . namespace + oModelData . fileName + "." + oModelData . fileType ; var oPage = that . getView ( ) . getContent ( ) [ 0 ] ; oPage . setBusy ( true ) ; return LRepConnector . getContent ( oModelData . layer , sContentSuffix , null , null , true ) . then ( that . _onContentReceived . bind ( that , oModelData , oPage , sContentSuffix ) , function ( ) { oPage . setBusy ( false ) ; } ) ; }
Handler if a route was matched;
Obtains information about layer, namespace, filename, and file type from the route's arguments, and then requests content from Layered Repository.
@param {Object} oRouteMatch - route object which is specified in the router and matched via regexp
@returns {Promise} - <code>LRepConnector</code> "getContent" promise
@private
Handler if a route was matched ; Obtains information about layer namespace filename and file type from the route s arguments and then requests content from Layered Repository .