Şub 10 2017
Openui5 Carousel javascript örneği
<!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>Carousel</title> <script src=”https://sapui5.hana.ondemand.com/resources/sap-ui-core.js” id=”sap-ui-bootstrap” data-sap-ui-libs=”sap.m” data-sap-ui-theme=”sap_belize”></script> <script type=”text/javascript”> var appCarousel = new sap.m.App(“myApp”, {initialPage:”carouselPage”}); var carouselPage = new sap.m.Page(“carouselPage”, {title: “Carousel”, enableScrolling: false } ); var page1 = new sap.m.Page(“page1”, {title: “Carousel Test Page 1”, enableScrolling: false } ); var page2 = new sap.m.Page(“page2”, […]
Şub 15 2017
Openui5 data binding örneği
<!DOCTYPE HTML> <html> <head> <meta http-equiv=”X-UA-Compatible” content=”IE=edge” /> <link rel=”shortcut icon” type=”image/x-icon” href=”images/controls/sap.ui.table.Table.gif”> <script id=”sap-ui-bootstrap” type=”text/javascript” data-sap-ui-libs=”sap.ui.commons,sap.ui.table” data-sap-ui-theme=”sap_belize” src=”https://sapui5.hana.ondemand.com/resources/sap-ui-core.js”> </script> <script type=”text/javascript”> var oModel = new sap.ui.model.json.JSONModel(); oModel.loadData(“http://karadere.com/blog/services/json_sayfalar.php?token=329893&id=5″,””,false,”POST”); // oModel.setData(d); var post_content = oModel.getProperty(“/post_name”); console.log(post_content); alert(post_content); </script> </head> <body class=”sapUiBody” role=”application”> <div id=”content”></div> <p> </body> </html>
Devamı
By Burhan KARADERE • openui5, sap, sapui5 • 0 • Tags: binding, data, openUI5, örneği, SAPUI5