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

Re: Why do I have to transfer the main model reference from a Component among all its views?

$
0
0

Hi Fabio,

 

I agree with Sakthi. Try something like below in your onAfterRendering of controller:

onAfterRendering: function(){
var oComponent = this.getOwnerComponent();
var oModel = oComponent.getModel();
}

Regards,

Sai Vellanki.


Viewing all articles
Browse latest Browse all 2801

Trending Articles



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