on 02-01-2016 12:06 AM
Hi,
We need implement the openui5 googlemaps library on our project. The project git, http://jasper07.secondphase.com.au/openui5-googlemaps/ , has all files and the examples, and we made an example that works perfect; but in this project, the library is declared on the index.html file with JS, but in the Worklist template SAPUI5 1.28 on WEBIDE, this project dont have this file anymore.
How we declare the library and which files should use.
Best regards,
Johnny
Jasper Git Project
WEBIDE SAPUI5 1.28 Worklist Template
Johnny,
Don't you have everything inside folder webapp? It just moved into a folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kris,
I moved folder inside to webapp folder, but additionally in te Component.js file, at end, I put the sentences:
jQuery.sap.require("TestSAPUI5128/moment/moment");
sap.ui.getCore().loadLibrary("openui5.googlemaps", "../openui5/googlemaps/");
In this moment all it's OK en WEBIDE
But, when deploy on the SAPUI5 Abap repository, with SAPUI 1.28, The application does not work and shows the following errors:
The folder structure it's different and was load moment resource, the openui5.googlemaps resource was not found. The error is:
2016-02-01 12:39:29 Error - found in negative cache: 'TestSAPUI5128/Component.js' from undefined/TestSAPUI5128/Component.js: Error: failed to load 'openui5/googlemaps/library.js' from openui5/googlemaps/library.js: 404 - NOT FOUND
Previously, this error is show:
2016-02-01 12:39:28 registerResourcePath ('openui5/googlemaps', 'openui5/googlemaps/') - sap.ui.ModuleSystem
abap.js:2 GET http://XXXXXXXXXXX:8000/sap/bc/ui5_ui5/ui2/ushell/shells/abap/openui5/googlemaps/library-preload.jso... 404 (NOT FOUND), when I think that the correct path that returns the function is the BSP path:
http://XXXXXXXXXXX:8000/sap/bc/ui5_ui5/sap/ztestsapui5128/openui5/googlemaps/library.js
Best regards,
Jonny
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.