Implementing CSS in SAPUI5 Application

SAPUI5, OpenUI5, Mobility,SAP Enterprise Portal

Suppose this is a simple example of a Button element. <script> var button = new sap.ui.commons.Button(“buttonId”,{ text: “Press Me!!!”, helpId: “Press Me”, press: function(){ alert(“Button has been pressed.”) } }); button.placeAt(“content”); </script> </head> <body class=“sapUiBody” role=“application”> <div id=“content”></div> </body> Method 1:- 1. Give an ID to your UI element like in this example I have […]

Continue reading


SAPUI5: What is it and how does it work?

SAPUI5: What is it and how does it work?

What is SAPUI5? Based on the theory above, SAP introduced an HTML5-based development toolkit, SAPUI5, which encourages one consistent user experience. By utilizing the theory above, apps built using SAPUI5 are responsive across browsers and devices – they run on smartphones, tablets, and desktops. The UI controls automatically adapt themselves to the capabilities of each […]

Continue reading