Hey,
> Thank you. So if I understand it correctly I could use:
> 
> defer : function() {
>   qx.ui.form.DateField.getDefaultDateFormatter = function() {// ...}
> },
> 
> in my subclass to overwrite static methods of the superclass.
Yes, that should work.

> Is this a valid approach for overwriting static members?
No, its a evil hack which should only be used in situations with no other 
possibility.

> Could we add it to the pocumentation under polymorphism? If so I rather 
> overwrite the defaultDateFormatter than removing the listener. From my POV it 
> doesn't 
> not make sense to add the listener in the superclass constructor and 
> remove it again in the subclass constructor, it seems to create 
> unnecessary overhead.
I check it out how to solve that problem a soon as i take care of the bug.

Ragerds,
Martin
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to