{"id":5597,"date":"2016-05-23T16:29:43","date_gmt":"2016-05-23T13:29:43","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=5597"},"modified":"2016-06-09T11:16:41","modified_gmt":"2016-06-09T08:16:41","slug":"sap-open-ui5-fiori-dialog-popup-image","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/sap-open-ui5-fiori-dialog-popup-image.html","title":{"rendered":"SAP open UI5 fiori  Dialog popup image"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/www.karadere.com\/blog\/uploads\/\/2010\/02\/sap-abap-logo.png\" width=\"230\" height=\"121\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/openui5.org\/images\/OpenUI5_new_big_side.png\" width=\"288\" height=\"75\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html&gt;&lt;head&gt;<\/p>\n<p>&lt;meta http-equiv=&#8217;X-UA-Compatible&#8217; content=&#8217;IE=edge&#8217; \/&gt;<\/p>\n<p>&lt;meta http-equiv=&#8217;Content-Type&#8217; content=&#8217;text\/html;charset=UTF-8&#8217;\/&gt;<\/p>\n<p>&lt;title&gt;Dialog popup&lt;\/title&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;script id=&#8217;sap-ui-bootstrap&#8217; type=&#8217;text\/javascript&#8217;<\/p>\n<p>src=&#8217;https:\/\/sapui5.netweaver.ondemand.com\/resources\/sap-ui-core.js&#8217;<\/p>\n<p>data-sap-ui-theme=&#8217;sap_goldreflection&#8217;<\/p>\n<p>data-sap-ui-libs=&#8217;sap.ui.commons,sap.ui.ux3&#8242;&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;\/script&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;script&gt;<\/p>\n<p>var PoPImage = new sap.ui.commons.Image();<\/p>\n<p>PoPImage.setSrc(&#8220;<a href=\"http:\/\/www.prins.com.tr\/images\/PRS_15096_WebBannerlar-04.png\">http:\/\/www.prins.com.tr\/images\/PRS_15096_WebBannerlar-04.png<\/a>&#8220;);<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\/\/ Function to create the first dialog<\/p>\n<p>function openFirstDialog() {<\/p>\n<p>var oFirstDialog = new sap.ui.commons.Dialog({modal: true});<\/p>\n<p>oFirstDialog.setTitle(&#8220;Normal Dialog&#8221;);<\/p>\n<p>oFirstDialog.setWidth(&#8220;720px&#8221;);<\/p>\n<p>oFirstDialog.setHeight(&#8220;300px&#8221;);<\/p>\n<p>oFirstDialog.setKeepInWindow(true);<\/p>\n<p>oFirstDialog.setScrollTop(100);<\/p>\n<p>&nbsp;<\/p>\n<p>oFirstDialog.addContent(PoPImage);<\/p>\n<p>oFirstDialog.addButton(new sap.ui.commons.Button({text: &#8220;OK&#8221;, press:function(){oFirstDialog.close();}}));<\/p>\n<p>oFirstDialog.open();<\/p>\n<p>};<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;\/script&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body onload=&#8221;openFirstDialog();&#8221; class=&#8217;sapUiBody&#8217;&gt;<\/p>\n<p>&lt;div id=&#8217;content&#8217;&gt;&lt;\/div&gt;<\/p>\n<p>&lt;div id=&#8217;images1&#8242;&gt;&lt;\/div&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &lt;!DOCTYPE html&gt; &lt;html&gt;&lt;head&gt; &lt;meta http-equiv=&#8217;X-UA-Compatible&#8217; content=&#8217;IE=edge&#8217; \/&gt; &lt;meta http-equiv=&#8217;Content-Type&#8217; content=&#8217;text\/html;charset=UTF-8&#8217;\/&gt; &lt;title&gt;Dialog popup&lt;\/title&gt; &nbsp; &lt;script id=&#8217;sap-ui-bootstrap&#8217; type=&#8217;text\/javascript&#8217; src=&#8217;https:\/\/sapui5.netweaver.ondemand.com\/resources\/sap-ui-core.js&#8217; data-sap-ui-theme=&#8217;sap_goldreflection&#8217; data-sap-ui-libs=&#8217;sap.ui.commons,sap.ui.ux3&#8242;&gt; &nbsp; &lt;\/script&gt; &nbsp; &nbsp; &lt;script&gt; var PoPImage = new sap.ui.commons.Image(); PoPImage.setSrc(&#8220;http:\/\/www.prins.com.tr\/images\/PRS_15096_WebBannerlar-04.png&#8220;); &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Function to create the first dialog function openFirstDialog() { var oFirstDialog = new sap.ui.commons.Dialog({modal: true}); oFirstDialog.setTitle(&#8220;Normal Dialog&#8221;); oFirstDialog.setWidth(&#8220;720px&#8221;); oFirstDialog.setHeight(&#8220;300px&#8221;); [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[2],"tags":[2554,948,1185,2545,2555,1837,2141],"class_list":["post-5597","post","type-post","status-publish","format-standard","hentry","category-2015-2016","tag-dialog","tag-fiori-2","tag-image","tag-open","tag-popup","tag-sap","tag-ui5","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":1880,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=5597"}],"version-history":[{"count":2,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5597\/revisions"}],"predecessor-version":[{"id":5671,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5597\/revisions\/5671"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=5597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=5597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=5597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}