Skip to Content
Former Member
May 23, 2016 at 12:29 PM

Calling function inside other function in UI5


Hello Expert ,

using this.getView().getController().onOtherFuction();

we can trigger a onOtherFuction() from different function.

But If onOtherFuction: function(Event) I have declare and that oEvent has been used in logic

In this case oEvent ll gets undefined or that oEvent related logic in onOtherFuction will gets fail .

Can anyone help on this to trigger onOtherFuction() with related oEvent is possible any how?

Thanks in advance .