Done: #5007
http://bugzilla.qooxdoo.org/show_bug.cgi?id=5007
Regards,
Martijn
Op 12-04-11 14:47, Martin Wittemann schreef:
> 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
>
------------------------------------------------------------------------------
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