Detail page of split app without model <p>In my split app the detail view does not bind any model.</p> <p>In the <code>component.js</code> I instantiate a named model like this:</p> <pre><code>// creation and setup of the oData model var oConfig = { metadataUrlParams: {}, json: true, defaultBindingMode : "TwoWay", defaultCountMode : "Inline", useBatch : false } // ### tab-employee ### var oModelEmpl = new sap.ui.model.odata.v2.ODataModel("/sap/opu/odata/sap/EMP_SRV"), oConfig); oModelEmpl.attachMetadataFailed(function() { this.getEventBus().publish("Component", "MetadataFailedEMPL"); }, this); this.setModel(oModelEmpl, "EMPL"); </code></pre> <p>The method <code>onSelect</code> in der master-view controller is fired by clicking on an listitem.</p> <pre><code>onSelect: function(oEvent) { this.showDetail(oEvent.getParameter("listItem") || oEvent.getSource()); } </code></pre> <p>This will call the method <code>showDetail</code></p> <pre><code>showDetail: function(oItem) { var bReplace = jQuery.device.is.phone ? false : true; this.getRouter().navTo("detail", { from: "master", entity: oItem.getBindingContext('EMPL').getPath().substr(1), }, bReplace); }, </code></pre> <p>In the controller of the detail-view I've these two methods for updating the binding. <code>onRouteMatched</code> calls <code>bindView</code>, where I get the error-message <code>TypeError: oView.getModel(...) is undefined</code>. </p> <pre><code>onRouteMatched: function(oEvent) { var oParameters = oEvent.getParameters(); jQuery.when(this.oInitialLoadFinishedDeferred).then(jQuery.proxy(function() { var oView = this.getView(); if (oParameters.name !== "detail") { return; } var sEntityPath = "/" + oParameters.arguments.entity; this.bindView(sEntityPath); }, this)); }, bindView: function(sEntityPath) { var oView = this.getView(); oView.bindElement(sEntityPath); //Check if the data is already on the client if (!oView.getModel().getData(sEntityPath)) { // Check that the entity specified was found. oView.getElementBinding().attachEventOnce("dataReceived", jQuery.proxy(function() { var oData = oView.getModel().getData(sEntityPath); if (!oData) { this.showEmptyView(); this.fireDetailNotFound(); } else { this.fireDetailChanged(sEntityPath); } }, this)); } else { this.fireDetailChanged(sEntityPath); } }, </code></pre> <p>I've tried to implement this split app relative to the template generated by WebIDE. Any idea what is missing?</p>