-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[INTERNAL] For demo app, use actual data, move mockServer to test
- Loading branch information
Showing
2 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Manage Products</title> | ||
|
||
<!-- Bootstrapping UI5 --> | ||
<script id="sap-ui-bootstrap" | ||
src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js" | ||
data-sap-ui-libs="sap.m" | ||
data-sap-ui-theme="sap_belize" | ||
data-sap-ui-compatVersion="edge" | ||
data-sap-ui-resourceroots='{"myCompany.myApp": "../demo"}' | ||
data-sap-ui-frameOptions='allow'> // NON-SECURE setting for testing environment | ||
</script> | ||
|
||
<script> | ||
sap.ui.getCore().attachInit(function () { | ||
sap.ui.require([ | ||
"myCompany/myApp/localService/mockserver", | ||
"sap/m/Shell", | ||
"sap/ui/core/ComponentContainer" | ||
], function (server, Shell, ComponentContainer) { | ||
// set up test service for local testing | ||
server.init(); | ||
// initialize the UI component | ||
new Shell({ | ||
app: new ComponentContainer({ | ||
height : "100%", | ||
name : "myCompany.myApp" | ||
}) | ||
}).placeAt("content"); | ||
}); | ||
}); | ||
</script> | ||
|
||
</head> | ||
|
||
<!-- UI Content --> | ||
<body class="sapUiBody" id="content"> | ||
</body> | ||
</html> |