Re: [qooxdoo-devel] this.testFunction is no function

2007-02-21 Thread Tobias Koller (GERMO GmbH)
Thanks!!! -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Hugh Gibson Gesendet: Mittwoch, 21. Februar 2007 14:17 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] this.testFunction is no function

Re: [qooxdoo-devel] this.testFunction is no function

2007-02-21 Thread Hugh Gibson
> atom.addEventListener("click", function(){ > this.saveData();}, this); This is your problem. In the function that you supply, "this" refers to the function itself and not to the class, even though you supplied "this" (the class) as the third parameter to addEventListener. You

[qooxdoo-devel] this.testFunction is no function

2007-02-21 Thread Tobias Koller (GERMO GmbH)
Hello, can anyone tell me something about this errorMessage? qx.ui.basic.Atom[307]: Could not dispatch event of type "click": TypeError - this.saveData is not a function I got this Method: qx.Proto.saveData = function(test){ }; And another method which calls the "this.saveDa