May 23 2016
SAP open UI5 fiori Dialog popup image
<!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>Dialog popup</title> <script id=’sap-ui-bootstrap’ type=’text/javascript’ src=’https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js’ data-sap-ui-theme=’sap_goldreflection’ data-sap-ui-libs=’sap.ui.commons,sap.ui.ux3′> </script> <script> var PoPImage = new sap.ui.commons.Image(); PoPImage.setSrc(“http://www.prins.com.tr/images/PRS_15096_WebBannerlar-04.png“); // Function to create the first dialog function openFirstDialog() { var oFirstDialog = new sap.ui.commons.Dialog({modal: true}); oFirstDialog.setTitle(“Normal Dialog”); oFirstDialog.setWidth(“720px”); oFirstDialog.setHeight(“300px”); […]
Haz 9 2016
SAP UI5 open dialog, show pop-up html external page iframe
<!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>Dialog popup</title> <script id=’sap-ui-bootstrap’ type=’text/javascript’ src=’https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js’ data-sap-ui-theme=’sap_goldreflection’ data-sap-ui-libs=’sap.ui.commons,sap.ui.ux3′> <script> // SAP UI5 open dialog, show pop-up // *************************************** function OpenPopup() { var html = new sap.ui.core.HTML(); html.setContent(“<iframe src=\”http://www.karadere.com\” style=\”height:600px;width:600px;\”></iframe>”); var SozDialog = new sap.ui.commons.Dialog({modal: true}); SozDialog.setTitle(“Popup title”); SozDialog.setWidth(“650px”); SozDialog.setHeight(“650px”); SozDialog.addContent(html); SozDialog.addButton(new sap.ui.commons.Button({text: “KAPAT”, press:function(){SozDialog.close();}})); SozDialog.open(); }; </script> </head> <body onload=”OpenPopup();” class=’sapUiBody’> <div id=’content’></div> <div id=’images1′></div> </body> </html>
Devamı
By Burhan KARADERE • 2015 - 2016 • 1 • Tags: Dialog, html, iframe, new sap.ui.core.HTML();, pop up, SAP, ui5