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

Re: Access resource model stored in UIComponent from View Controller

$
0
0

Hi Florian,

Try setting model with this sentence in your controller:

 

sap.ui.getCore().setModel(i18nModel,"i18n");

 

And getting model with this sentence in your view:

 

var i18nModel = sap.ui.getCore().getModel("i18n");


Kind regards


Viewing all articles
Browse latest Browse all 8411

Trending Articles



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