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

Re: Two models in component.js

$
0
0

Hi Karthikeyan,

 

Try something like this in your controller:

var oComponent = this.getOwnerComponent();
var oModel = oComponent.getModel("sampleModel");

Regards,

Sai Vellanki.


Viewing all articles
Browse latest Browse all 8451

Trending Articles