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?