Update to latest UIFlex changes and CDS master
This commit is contained in:
@@ -1,41 +1,40 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Bookshop</title>
|
||||||
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<script>
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
window["sap-ushell-config"] = {
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
defaultRenderer: "fiori2",
|
||||||
<title>Bookshop</title>
|
applications: {
|
||||||
|
"browse-books": {
|
||||||
<script>
|
title: "Browse Books",
|
||||||
window["sap-ushell-config"] = {
|
description: "w/ SAP Fiori Elements",
|
||||||
defaultRenderer: "fiori2",
|
additionalInformation: "SAPUI5.Component=bookshop",
|
||||||
applications: {
|
applicationType: "URL",
|
||||||
"browse-books": {
|
url: "/browse/webapp",
|
||||||
title: "Browse Books",
|
navigationMode: "embedded",
|
||||||
description: "w/ SAP Fiori Elements",
|
},
|
||||||
additionalInformation: "SAPUI5.Component=bookshop",
|
"manage-books": {
|
||||||
applicationType : "URL",
|
title: "Manage Books",
|
||||||
url: "/browse/webapp",
|
description: "w/ SAP Fiori Elements",
|
||||||
navigationMode: "embedded"
|
additionalInformation: "SAPUI5.Component=admin",
|
||||||
},
|
applicationType: "URL",
|
||||||
"manage-books": {
|
url: "/admin/webapp",
|
||||||
title: "Manage Books",
|
navigationMode: "embedded",
|
||||||
description: "w/ SAP Fiori Elements",
|
},
|
||||||
additionalInformation: "SAPUI5.Component=admin",
|
"manage-orders": {
|
||||||
applicationType : "URL",
|
title: "Manage Orders",
|
||||||
url: "/admin/webapp",
|
description: "w/ SAP Fiori Elements",
|
||||||
navigationMode: "embedded"
|
additionalInformation: "SAPUI5.Component=orders",
|
||||||
},
|
applicationType: "URL",
|
||||||
"manage-orders": {
|
url: "/orders/webapp",
|
||||||
title: "Manage Orders",
|
navigationMode: "embedded",
|
||||||
description: "w/ SAP Fiori Elements",
|
},
|
||||||
additionalInformation: "SAPUI5.Component=orders",
|
},
|
||||||
applicationType : "URL",
|
|
||||||
url: "/orders/webapp",
|
|
||||||
navigationMode: "embedded"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
bootstrapPlugins: {
|
bootstrapPlugins: {
|
||||||
RuntimeAuthoringPlugin: {
|
RuntimeAuthoringPlugin: {
|
||||||
component: "sap.ushell.plugins.rta",
|
component: "sap.ushell.plugins.rta",
|
||||||
@@ -50,25 +49,33 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script id="sap-ushell-bootstrap" src="https://sapui5nightly.int.sap.eu2.hana.ondemand.com/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
|
<script
|
||||||
<script id="sap-ui-bootstrap" src="https://sapui5nightly.int.sap.eu2.hana.ondemand.com/resources/sap-ui-core.js"
|
id="sap-ushell-bootstrap"
|
||||||
data-sap-ui-libs="sap.m, sap.ushell, sap.collaboration, sap.ui.layout"
|
src="https://sapui5nightly.int.sap.eu2.hana.ondemand.com/test-resources/sap/ushell/bootstrap/sandbox.js"
|
||||||
data-sap-ui-compatVersion="edge"
|
></script>
|
||||||
data-sap-ui-theme="sap_fiori_3"
|
<script
|
||||||
data-sap-ui-frameOptions="allow"
|
id="sap-ui-bootstrap"
|
||||||
data-sap-ui-bindingSyntax="complex"
|
src="https://sapui5nightly.int.sap.eu2.hana.ondemand.com/resources/sap-ui-core.js"
|
||||||
></script>
|
data-sap-ui-libs="sap.m, sap.ushell, sap.collaboration, sap.ui.layout"
|
||||||
<script>
|
data-sap-ui-compatVersion="edge"
|
||||||
sap.ui.getCore().attachInit(()=> sap.ushell.Container.createRenderer().placeAt("content"));
|
data-sap-ui-theme="sap_fiori_3"
|
||||||
sap.ui
|
data-sap-ui-frameOptions="allow"
|
||||||
|
data-sap-ui-bindingSyntax="complex"
|
||||||
|
></script>
|
||||||
|
<script>
|
||||||
|
sap.ui
|
||||||
|
.getCore()
|
||||||
|
.attachInit(() =>
|
||||||
|
sap.ushell.Container.createRenderer().placeAt("content")
|
||||||
|
);
|
||||||
|
sap.ui
|
||||||
.getCore()
|
.getCore()
|
||||||
.getConfiguration()
|
.getConfiguration()
|
||||||
.setFlexibilityServices([{ connector: "SessionStorageConnector" }]);
|
.setFlexibilityServices([{ connector: "SessionStorageConnector" }]);
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
</head>
|
<body class="sapUiBody" id="content"></body>
|
||||||
<body class="sapUiBody" id="content"></body>
|
|
||||||
</html>
|
</html>
|
||||||
@@ -23,6 +23,9 @@
|
|||||||
},
|
},
|
||||||
"sap.ui5": {
|
"sap.ui5": {
|
||||||
"flexEnabled": true,
|
"flexEnabled": true,
|
||||||
|
"config": {
|
||||||
|
"experimentalCAPScenario": true
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"libs": {
|
"libs": {
|
||||||
"sap.fe.templates": {}
|
"sap.fe.templates": {}
|
||||||
|
|||||||
@@ -35,9 +35,7 @@
|
|||||||
},
|
},
|
||||||
"db": {
|
"db": {
|
||||||
"kind": "sqlite",
|
"kind": "sqlite",
|
||||||
"credentials": {
|
"model": "*"
|
||||||
"database": "sqlite.db"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Content-Type: application/json
|
|||||||
|
|
||||||
{
|
{
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"{\"extend\":\"AdminService.Books\",\"elements\":{\"ab c\":{\"type\":\"cds.Integer\"}}}"
|
"{\"extend\":\"AdminService.Books\",\"elements\":{\"neuesFeld2\":{\"type\":\"cds.String\", \"default\":\"hallo\"}}}"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
},
|
},
|
||||||
"sap.ui5": {
|
"sap.ui5": {
|
||||||
"flexEnabled": true,
|
"flexEnabled": true,
|
||||||
|
"config": {
|
||||||
|
"experimentalCAPScenario": true
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"libs": {
|
"libs": {
|
||||||
"sap.fe.templates": {}
|
"sap.fe.templates": {}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"@capire/media": "./media",
|
"@capire/media": "./media",
|
||||||
"@capire/orders": "./orders",
|
"@capire/orders": "./orders",
|
||||||
"@capire/reviews": "./reviews",
|
"@capire/reviews": "./reviews",
|
||||||
"@sap/cds": "git+https://github.tools.sap/cap/cds.git#runtime/ui-flex-prod",
|
"@sap/cds": "git+https://github.tools.sap/cap/cds.git",
|
||||||
"@sap/cds-dk": "*"
|
"@sap/cds-dk": "*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user