Hi,

Trying to inherit from a qx.ui.form.DateField and changing the default 
date formatter seems to be a very hard job. I am trying to create a 
datetime field by inheriting from DateField. These are the problems I 
facing:

* Cannot overwrite the "getDefaultDateFormatter" method because the 
DateField constructor is referencing the baseclass formatter specifically.
* Cannot overwrite the constructor because I can not prevent or remove 
the "changeLocale" listener.
* The date formatter property is replaced by the default formatter when 
the "changeLocale" event is triggered. So event if I change the property 
it is replaced when the locale is changed.

What are your thoughts about this?

Regards,
Martijn

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