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.saveData()"-Method

 

qx.Proto.callSaveData = function(){

                

                var atom = new qx.ui.basic.Atom("test");

                

                atom.addEventListener("click", function(){
this.saveData();}, this);

}

 

 

I also tried to put this method out of the eventListener (cause of
"this"-Pointer) but there is the same result.

 

 

I have a second question:

Could someone give me a testApplication with some classes? Just to
check, how you program with qooxdoo. Maybe my source-Code isn't that
good/correct. Please zip the *js-Files and rename the ZipFile. Otherwise
maybe my firewall will delete it.

The Samples contains always just one Method which shows how a specific
example works.

 

Thanks a lot!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to