Thanks!!!

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Hugh Gibson
Gesendet: Mittwoch, 21. Februar 2007 14:17
An: [email protected]
Betreff: Re: [qooxdoo-devel] this.testFunction is no function

>                 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 need to use 


    atom.addEventListener("click", saveData, this);

> Could someone give me a testApplication with some classes? Just to
> check, how you program with qooxdoo. 

With the source distribution of qooxdoo you get the skeletons. Also look at the 
feedreader (http://demo.qooxdoo.org/current/feedreader/ ), full source code 
provided in frontend/application/feedreader.
 
Hugh

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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