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

Re: UIComponent's Model can not be accessed in View-Controller

$
0
0

Hi Sai,

 

I'm setting the model in the init method of my Component.js like this:

var oStoryModel = new JSONModel(jQuery.sap.getModulePath(sNamespace, oConfig.storiesLocal));

this.setModel(oStoryModel, "stories");

 

Should be the same like yours.

 

Regards,

Dominik


Viewing all articles
Browse latest Browse all 3132

Latest Images

Trending Articles



Latest Images

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