howto define variable in .onInit and use it in pages
is there a way to define a variable in .onInit and then use it in all pages?
i am trying to do this because i need to change the pages dynamically with this parameter...
i already tried !define variable... it works but the problem is that you can't change this value at runtime...or at least i haven't found a way to do so
thx for your help
EDIT: Ok i am stupid, you have to declare the variables before the pages *facepalm*