Hi guys,
Another post for another question
Let's imagine I have a function called test() and 3 buttons with ID (name) = B1, B2 and B3 (for example)
On a button click, I want to invoque test(). Nothing hardcore for now.
But then I want that the behavior of test() differs, depending of the button clicked !
I other words, I want to get the id of the clicked button in ME in the test() function.
Is it possible (on Jedox 5 ?!) ? I haven't found informations about it...
If it isn't, I know we can have 3 functions, one for each button then call test($var) and specifies $var. But it creates X methods for X buttons and I don't find this to be a very effective solution.
Regards,
Trall
Another post for another question

Let's imagine I have a function called test() and 3 buttons with ID (name) = B1, B2 and B3 (for example)
On a button click, I want to invoque test(). Nothing hardcore for now.
But then I want that the behavior of test() differs, depending of the button clicked !
I other words, I want to get the id of the clicked button in ME in the test() function.
Is it possible (on Jedox 5 ?!) ? I haven't found informations about it...
If it isn't, I know we can have 3 functions, one for each button then call test($var) and specifies $var. But it creates X methods for X buttons and I don't find this to be a very effective solution.
Regards,
Trall