Top "Sapui5" questions

This tag 'sapui5' covers both the proprietary (SAPUI5) and the open source (OpenUI5) versions of the framework.

Promise.resolve with no argument passed in

In the OpenUI5 code-base I came across this snippet: // Wait until everything is rendered (parent height!) before reading/updating sizes. // …

javascript promise settimeout sapui5 es6-promise
SAPUI5 - this.getView() is not a function

I am trying to get the input value, but when I call the function I get the error this.getView() …

javascript sapui5 getvalue
SAPUI5/OpenUI5 view not rendered after router navTo

I'm creating SAPUI5 sample app with simple routing (SAPUI5/OpenUI5 v.1.22). My main problem, which I'm trying to understand, why …

view rendering router sapui5
Global Model Not Accesible

I declared a model in Component.js of a UI5 application as below init: function() { sap.ui.core.UIComponent.prototype.…

sapui5
Filter on more than one column

I have a table that I can filter from one column: handleSearch: function(oEvent) { var sValue = oEvent.getParameter("value"); var …

sapui5 sap-fiori
SAPUI5/OpenUI5: CSS for custom control?

I am currently working on a custom control in SAPUI5/OpenUI5 and I am wondering how I can get the …

sapui5
How to navigate to another XML page when the user click on message popup button

View1.Controller.js onClickRUSSIA: function() { var dialog = new Dialog({ title: 'Default Message',`enter code here` type: 'Message', content: new Text({ …

sapui5 web-ide
Why WebIde shows error for alert and console.log?

I am using WebIde of SAPUI5 development. If I write a console.log or alert it shows error of unexpected …

sapui5 sap-web-ide
What is the difference between attachMatched() and attachPatternMatched() and/or attachRouteMatched() and attachRoutePatternMatched() in SAPUI5?

Would be happy about an example of what is the difference between the following SAPUI5 routing approaches: sap.ui.core.…

sapui5
Data binding of CSS class attribute in XML view

How can I bind the value of the CSS class attribute of a XML fragment to a model property within …

data-binding sapui5