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

What is model in routing with parameters ?

$
0
0

I am following the walkthrough series and came across the Routing with parameters tutorial at Step 32: Routing with Parameters .

 

I am trying to understand the details that are to be passed in the _onObjectmatched function

 

_onObjectMatched:function(oEvent){
this.getView().bindElement({
path
:"/"+ oEvent.getParameter("arguments").invoicePath,
model
:"invoice"
});

 

As in the example in the tutorial the model is provided as invoice. What is the model name that to be taken/ given in our application? I am using WEBIDE templates. Is it specified during project generation or any model name can be specified ?

 

I am unable to bindelement to the view now.


Viewing all articles
Browse latest Browse all 2895

Trending Articles



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