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

Re: 404 error loading your own view classes from another of your own view classes?

$
0
0

Hi,

 

Still the same result:

 

[code]

2015-01-18 23:32:58 lazy stub for 'sap.ui.controller' called. - 

sap-ui-core-dbg.js:8103 GET http://54.72.75.157:8000/Test/PRJ-UI5/WebContent/view/MapZone-dbg.js 404 (Not Found)

sap-ui-core-dbg.js:8103 GET http://54.72.75.157:8000/Test/PRJ-UI5/WebContent/view/MapZone.js 404 (Not Found)

sap-ui-core-dbg.js:14438 Uncaught Error: failed to load 'view/Admin.controller.js' from ./view/Admin-dbg.controller.js: Error: failed to load 'view/MapZone.js' from ./view/MapZone.js: 404 - Not Found

[/code]

 

Here is my index.html

 

[code]

    <script src="/sap/ui5/1/resources/sap-ui-core.js"
   id="sap-ui-bootstrap"
   data-sap-ui-libs="sap.m, sap.ui.layout"
   data-sap-ui-language="en"
   data-sap-ui-theme="sap_bluecrystal">
   </script>
   <!-- only load the mobile lib "sap.m" and the "sap_bluecrystal" theme -->

 

   <script>
   jQuery.sap.registerModulePath("view","WebContent/view");
   sap.ui.localResources("view");
   sap.ui.localResources("suite");
   var app = new sap.m.App({initialPage:"wittosui5"});
   var page = sap.ui.view({id:"testui5", viewName:"view.MapZone", type:sap.ui.core.mvc.ViewType.JS});
   app.addPage(page);
   app.placeAt("content");
   </script>

[/code]


Viewing all articles
Browse latest Browse all 8122

Trending Articles



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