Matthew Gregory wrote:
> Good to know, I was starting to get puzzled why it wasn't working :)
>   
My listener was like this:

> APP = this; this.input_field.addListener("changeReadOnly",function(e){
>         this.EEE = e; //this event object gets overwritten, why!?!?!?
>         var newvalue = e.getData();
>         var oldvalue = e.getOldData();
>         this.debug("new value:" + newvalue + " and old value:" + 
> oldvalue + " ...");
>       }, this);
I tried accessing getData and getOldData on APP.EEE and the event object 
was a different event of a mouseout. Why does my event object get over 
written? Was it a reference to an object and that object was changed by 
qooxdoo for a newer event?

I was stumped by the event getting overwritten all this time as I use 
firebug to tab over all the properties and methods of an object, 
including events.

cheers,
skar.

-- 
--
The life so short, the craft so long to learn. 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to