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

i18n model defined in manifest.json is not created

$
0
0

Hi Guys,

 

I am now following the latest walkthrough tutorial in http://veui5infra.dhcp.wdf.sap.corp:8080/demokit/#docs/guide/8f93bf2b2b13402e9f035128ce8b495f.html

 

 

after I define the i18n model metadata in manifest.json .  see attached "Capture0.jpg"

 

while I set breakpoint in Component.js 's init() method,  and by accessing this.getMetadata()._oStaticInfo.manifest, I see all

the metadata parsed.      see attached file "Capture1.jpg"

 

However, when I try to acces i18n model by this.getModel("i18n"),  I get nothing.  see attached Capture2.jpg

neither can I access the i18n model in view's controller by this.getView().getModel("i18n").

 

 

However, ui5 do parse the "rootView" property under  "sap.ui5" in manifest.json file. otherwise the rootView will not be loaded and initiated.


Viewing all articles
Browse latest Browse all 8451

Trending Articles



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