Quantcast
Channel: SCN : Popular Discussions - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 1411

Function on contribution.ztl not working

$
0
0

   Hi experts,

 

I'm having a problem, on the contribution.ztl file, I created the following code

 

String getSelectedValue(){*

  return this.selectedValue;

  *}

 

Which I fire when the value is changed on the combobox, with the following code.

 

that.setProperty("selectedValue",that.getValue());

  that.fireDesignStudioPropertiesChanged(["selectedValue"]);

  that.fireDesignStudioEvent("onchange");

 

But it always return undifined when I try to show the result of the function getSelectedValue.

 

My code is here

 

https://github.com/olafecorcam/com.leandro.gp.combobox

 

Any ideas?

 

By the way, this component I'm creating so that I can add "ALL" to the list of values inside the combo, as per now the native one comes with the first value already selected, which is causing confusion on the users.

 

Best

Leandro


Viewing all articles
Browse latest Browse all 1411

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>