cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5, Component.js onInit always automatically gets called?

04-09-2019 2:52 AM
suwandi_cahyadi Contributor
718 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Dear Experts,

I am doing the walkthrough from the SAPUI5 sdk documentation, and I am now at step 9:

https://sapui5.hana.ondemand.com/#/topic/4cfa60872dca462cb87148ccd0d948ee

In this step we move the variable oData and i18nModel to the Component.js, I did this but then view does not get the text from the i18n, I suspect somehow the Component.js onInit does not get called..

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Likes

Hello Suwandi Cahyadi,

Check your code with this-

walkthrough 9

junwu
SAP Champion
SAP Champion
0 Likes

can't u just debug?

btw, odatamodel, i18n are specified in manifest, not in component