on 05-23-2016 1:29 PM
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 .
Hi Sulekha,
It's just a matter of passing Event Parameter, Whatever you are sending , you should be able to recieve it in function definition.
this.getView().getController().onOtherFunction(oEvent);
Have you tried this way?
I hope this shud work.
Regards
Ravikant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sulekha,
I m getting the sense what you are trying to do, I think you want to call standard event handler by your own. Standard event handler like RouteMatched, AttachPress, AttachDelete, These methods are triggered by some event on UI and it sends oEvent object to the called function.
I'm not sure if you can call standard event handler without performing that event from UI.
Regards
Ravikant
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.