Hi everybody,

is it possible, to pass or use another object from outside inside of the
converter-method used in a singlevalue-binding?

For e.g. I have this code:

 var someObjectFromOutside = new CoolObject();

 var lblInfo = new qx.ui.basic.Label();
 this.bind("propertyObject.intValue", lblInfo, "value", {
     converter: function (data) {
         return someObjectFromOutside.method(data);
     }
 });

I'd like to manipulate the data-value by using the method of an an external
object from outside instead of creating and destoying it every time inside
the converter is called.

Is that possible and if, how can it be done?

Thank you all and greetings
LoneSurvivor



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Is-it-possible-to-add-another-object-to-the-converter-for-a-singlevalue-binding-tp7588266.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to