-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (40 loc) · 1.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<title>SAP PI Launcher sapui5 edition</title>
<script id="sap-ui-bootstrap"
type="text/javascript"
src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
data-sap-ui-theme="sap_goldreflection"
data-sap-ui-libs="sap.m">
</script>
<script type="text/javascript">
/*
$.(function() {
var page = new sap.ui.m.Page( "mainpage" );
var pageDetail = new sap.ui.m.Page( "detailpage" );
var app = new sap.ui.m.SplitApp( "mainapp",
{
mode: sap.m.SplitAppMode.PopoverMode ,
masterButtonText: "masterButton",
masterPages: [ page ],
detailPages: [ pageDetail ],
afterMasterNavigate: function( oControlEvent) {
window.alert ( "afterMasterNavigate: " + oControlEvent.getSoruce );
},
afterDetailNavigate: function( oControlEvent ) {
window.alert ( "afterDetailNavigate: " + oControlEvent.getSoruce );
}
});
);*/
// Tell UI5 where to find application content
sap.ui.localResources("view");
jQuery.sap.registerModulePath('Application', './Application');
// Launch application
jQuery.sap.require("Application");
var oApp = new Application({root : "content"});
</script>
</head>
<body class="sapUiBody" id="content">
</body>
</html>