Hello Everyone,
I am new to SAP UI5.
I am using :
SAP MII 14.0
UI5 version 1.14.0
Chrome
IE 10
I have written a simple html page using SAP UI5 in MII. The code is at the end.
The html page was working fine till I cleared the browser cache(I did in both chrome and IE).
After I cleared the browser cache I am getting an error.
Earlier I was getting this type of error for sapui5/resources/sap/ui/commons/library.js and sapui5/resources/sap/ui/commons/Button.js
http://Server:Port/sapui5/resources/sap-ui-core-dbg.js does not open (Also library.js and Button.js do not open)
But http://Server:Port/sapui5/resources/sap-ui-core.js opens up.
I have selected Always refresh from server in IE and Disable cache in Chrome.
Please help me to resolve the issue.
Thanks,
Nalini
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Test</title>
<script id="sap-ui-bootstrap"
type="text/javascript"
src="/sapui5/resources/sap-ui-core.js"
data-sap-ui-theme="sap_goldreflection"
data-sap-ui-libs="sap.ui.commons" >
</script>
<script>
var oLabel = new sap.ui.commons.Label("l1");
oLabel.setText("Test label");
oLabel.placeAt("content");
</script>
</head>
<body class="sapUiBody">
<h1>Test Page</h1>
<div id="content"></div>
</body>
</html>