I use an template called from componentUrl properties.
Sometimes it’s “embedded” in a tab, sometimes in a popup.
So, in my template code, I have for the “on” event : pageInit or tabInit.
I don’t wan’t to duplicate code for those 2.
How could I call the same code for pageInit or tabInit ?