I want to register an event listener with subscribe method. I get an error because the callback function in my subscribe method is not defined.
var oEventBus = sap.ui.getCore().getEventBus();
oEventBus.subscribe(“resetPassword”, “newStatusMessage”, this.openStatusDialog, this);
How can I define (extend the controller) with function openStatusDialog?
Mathieu Roll
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)