Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Use of 'Pattern' for routing in sapui5

$
0
0

Hi indrajith,

 

I am still getting the same error.

 

my masterview contains this-

 

onInit: function() {

       

        sap.ui.core.UIComponent.getRouterFor(this).attachRouteMatched(this.onRouteMatched, this);

       

    },

   

    onRouteMatched : function() {

       

        var sURL = "/sap/opu/odata/SAP/ZFI_DAILY_SRV/";

        var newModel = new sap.ui.model.odata.ODataModel(sURL, "newModel");

        sap.ui.getCore().setModel(newModel,"newModel");

    },

 

masterview.xml contains the input fields with value="{Property}"


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>