Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

SAPUI5 issue in Internet Explorer 9

$
0
0

Hello Experts,

 

I have been facing a very peculiar issue recently. I have a simple SAPUI5 page as below (SAPUI5 Hello World), I am just creating a UI5 button and setting some of its properties:

 

<!DOCTYPE html><html><head>    <meta http-equiv="X-UA-Compatible" content="IE=edge" />    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>    <title>SAPUI5 Demo Page</title>    <script id="sap-ui-bootstrap"        src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"        data-sap-ui-theme="sap_goldreflection"        data-sap-ui-libs="sap.ui.commons"></script>      <script>        // create the button instance        var myButton = new sap.ui.commons.Button("btn");          // set properties, e.g. the text (there is also a shorter way of setting several properties)        myButton.setText("Hello World!");          // attach an action to the button's "press" event (use jQuery to fade out the button)        myButton.attachPress(function(){$("#btn").fadeOut()});          // place the button into the HTML element defined below        myButton.placeAt("uiArea");    </script>  </head><body class="sapUiBody">    <div id="uiArea"></div></body></html>

 

When I run this page from my local system in the browser (IE9 and Google Chrome) the page renders and the output appears fine as expected.

 

Now I upload this HTML5 page in KM in the portal (NW 7.30 SP9). When I open the uploaded file from the portal, it shows up fine in Chrome, but in IE9 in the console it shows the error failed to load 'sap.ui.core.library' from https://sapui5.netweaver.ondemand.com/resources/sap/ui/core/library.js: 0 - [object Error]

 

I have tried running the page in IE9 in Quirks mode as well as IE9 Standards mode and also in IE9 Compatibility Mode and normal mode. Still the button does not show up in IE9 and I get the mentioned error in the console.

 

Has anyone faced a similar issue working with SAPUI5 pages in IE9 browser?

 

Regards,

Saurabh


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>