I agree that it's ugly, but the alternative is to cut and paste the entirety
of ComboBox.js into a new class that inherits from AbstractSelectBox. I want
the vast majority of the code in ComboBox, but not the two lines that
explicitly forward focus events to the textfield.

If, as you said, the code I didn't want were in a method, then I could just
override that method. But in this case the code I don't want is simply
inlined into the constructor.

However, I should be able to just remove the listeners I don't want via
getListeners -- thanks for that tip! That basically solves my problem. :)

Dave


you might be able to do something like:

arguments.callee.base.base.call(this)

I really wouldn't recomend it though. It should "work" but it is bad 
practice. Does the event handler refer to a public/protected function 
that you could override instead?

You should be able to remove the event though without knowing the id. 
For example you could use

qx.event.Registration.getManager(this).getListeners(this, "eventName")

to get a list of all the event handlers for that event.

If you can post some code I might be able to help you out further

HTH, Matt


-- 
View this message in context: 
http://www.nabble.com/Call-constructor-of-superclass-of-superclass-tp25391812p25400734.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


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