Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

SDK Custom Component - Change Attribute value

$
0
0

Hey,

I have an problem with my SDK Component; basically I have an image and on click I change an attribute("selection"). But when I use getSelection() in the Design Studio I don't get the expected value, but the old one.

 

My code is

 this.$().click(function() {           that.selection = "new value";            that.firePropertiesChanged(["selection"]);     that.fireEvent("onclick");
 }); 
this.selection = function(value){           if (value === undefined) {                return selection;           }else{                this.selection = value;                return this;           }
}; 

Do you have any idea, how to do it?

 

Thanks,

 

Philipp =)


Viewing all articles
Browse latest Browse all 4041

Trending Articles



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