Dear All,
I have been created my own component for SAP Design Studio 1.3.
In this component I have my events OnClick/OnSelect/OnWhatEver.
I want to have a possibility to call code of events in BIAL code, similar tohow it works for standard components like button, checkbox, dropdown box etc.
Example:
We have Button_1 with event OnClick. For OnClick we have some BIAL code e.g. APPLICATION.alert("hello");
We have also Dropdown_1 with event OnSelect. For this event I want to call OnClick of button, it's possible: BUTTON_1.onClick();
And at the end we have MY_Own_Comp01, with event OnWhatEver. I want to call the script that is executed when OnWhatEver is fired e.g. My_Own_Comp01.onWhatEver();
What/how should I add/handle in ZTL or XML or JS files to have a possibility to call script of my own event?
I didn't find any example. I will be grateful for some tips.
Best regards,