Hello,
have found a Problem, when I debug with Firebug.
I'll get an Error in qx.ui.form.DateField._applyDateFormat while
Instantiating it:
line 211:
// property apply routine
_applyDateFormat : function(value, old)
{
// get the date with the old date format
try
{
var textfield = this.getChildControl("textfield");
var dateStr =textfield.getValue()
//--------> missing Semicolon
var currentDate = old.parse(dateStr);
//--------> at Instantiation 'old' is always null, therefore error is
thrown!
textfield.setValue(value.format(currentDate));
}
catch (ex) {
// do nothing if the former date could not be parsed
}
},
Example:
http://tinyurl.com/28jzgnn
Is this a bug, or do I not understand all backgrounds?
For me I have solved it by overwriting _applyDateFormat and testing
if(old != null)
helmutl
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel