Transfering string value from xml-view into variable in controller
At the moment of pressing the second TabFilter, the input value present in the first tabfilter ("Value_1") should be saved in controller´s variable "Glob_P".
After reading the correct answer from Florian Hafner in this post, I tried to implement that code in controller:
"var oView = this.getView();
Glob_P = oView.byId('TV_1').getValue();"
but it did not worked (I believe I am still missing to give the correct reference of the view). I have also tried with the proposal from Nagarajan Kumarappan in his blog. Still I am not obtaining the result. Here are my two attempts:
What am I missing? please help. I thank you for your support,