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

Re: Application breaks when called as Component

$
0
0

Ok, so looked at it a bit more - looks like the resources are not being loaded by the Component.js , even though there is an explicit loading mentioned

 

--inside component.js ----

 

sap.ui.localResources('views');

sap.ui.resources('images');

 

  var view = sap.ui.jsview("idHome", "views.Home");

  return view;

 

---- exit ----

 

This is what confuses me, the core should have loaded the views with respect to the Component.js location. The same problem happens with images folder.

 

Not sure if its an issue with the Component.

 

Regards

Sandip


Viewing all articles
Browse latest Browse all 8082

Trending Articles



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