on 01-10-2019 3:50 AM
Hello experts,
I am new to UI5 programming. I am using the same manifest file in a webIDE project and eclipse project.I have changed the ID and rootview details accordingly. However, eventhough it works in webIDE I am getting a blank page in eclipse. There is no error in debugger as well.
If i give the rootview directly in component, the page loads. However if i give as manifest, then there is a blank page coming up. stuck in this for sometime now so any help is appreciated
Component.js:
sap.ui.define([
"sap/ui/core/UIComponent"
], function (UIComponent) {
"use strict";
return UIComponent.extend("zas_proj1_ns.Component", {
metadata : {
manifest: "json"
//rootView: "zas_proj1_ns.View.MainView"
// giving rootview directly works
},
init : function () {
// call the init function of the parent
UIComponent.prototype.init.apply(this, arguments);
// additional initialization can be done here
}
});
});
Manifest.json:
{
"_version": "1.1.0",
"start_url": "./index.html",
"sap.app": {
"_version": "1.1.0",
"id": "zas_proj1_ns",
"type": "application",
"title": "{{appTitle}}",
"description": "{{appDescription}}",
"applicationVersion": {
"version": "1.0.0"
}
},
"sap.ui": {
"_version": "1.1.0",
"technology": "UI5",
"deviceTypes": {
"desktop": true,
"tablet": true,
"phone": true
},
"supportedThemes": [
"sap_bluecrystal"
]
},
"sap.ui5": {
"_version": "1.1.0",
"rootView": "zas_proj1_ns.View.MainView",
"autoPrefixId": true,
"dependencies": {
"minUI5Version": "1.30",
"libs": {
"sap.ui.core": {
"minVersion": "1.30.0"
},
"sap.m": {
"minVersion": "1.30.0"
},
"sap.ui.layout": {
"minVersion": "1.30.0"
}
}
},
"contentDensities": {
"compact": true,
"cozy": true
}
}
}
Check your ui5 version. or change index.html src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.