Re: [qooxdoo-devel] General question about callback functions and the context of them

2012-08-28 Thread Martin Wittemann
Hey, Is there a possibility to pass the this-reference to the callback function? No, the converter does not offer the setting of a context so you can use the closure variant you already suggested. Another way would be to bind the converter function using the function bind [1], which qooxdoo offe

[qooxdoo-devel] General question about callback functions and the context of them

2012-08-28 Thread Hans Juergen Gamauf
I have a general question about the context of callback functions: I have, for example, in an arbitrary class a model which I want to modify with different textboxes, for that I have defined a converter function because I want to deal with numbers instead of strings: tf.bind("value", model, ta