I've been following this http://scn.sap.com/people/craig.haworth/blog/2014/08/19/how-to-get-your-sap-ui-5-apps-to-work-like-sap-fiori-apps-in-sap-fiori-launchpad and using this app http://scn.sap.com/community/developer-center/front-end/blog/2014/03/04/building-sap-fiori-like-uis-with-sapui5-in-10-exercises
Based on the first link, I converted the main view from JS to XML.
The app launch but got the following error message.
2015-01-16 20:58:07 registerResourcePath ('sap/ui/demo/myFiori', '/sap/bc/ui5_ui5/sap/ztestfiori01/') - sap.ui.ModuleSystem
http://ussltcsnw1526.solutions.glbsnet.com:8000/sap/bc/ui5_ui5/ui2/ushell/shells/abap/i18n/messageBundle_en.properties 404 (NOT FOUND)
http://ussltcsnw1526.solutions.glbsnet.com:8000/sap/bc/ui5_ui5/ui2/ushell/shells/abap/i18n/messageBundle.properties 404 (NOT FOUND)
http://ussltcsnw1526.solutions.glbsnet.com:8000/sap/bc/ui5_ui5/ui2/ushell/shells/abap/model/mock.json 404 (NOT FOUND)
Any idea what am i missing? I think i just need to make sure the resource is set correctly, but I could not figure out how to. I tried to use sap.ui.localResources but it does not make any different.
UPDATE: i can get it working by tracing through the path using ../../../../sap/ztestfiori02/i18n/messageBundle.properties and ../../../../sap/ztestfiori02/model/mock.json however, i would think there is a better way to do this. I could not test this locally if i do it this way.
- Iwan