Hello All,

I'm using SAKI's date&time field ux. I'm getting problems with the Air acces violation.

I know this has to do with the precompiled formats for the component itself.

Code:
Date.precompileFormats("D n/j/Y|n/j/Y|j/n/Y|n/j/y|m/j/y|n/d/y|m/j/Y|n/d/Y|YmdHis|m/d/Y|m/d/y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d|Y-m-d H:i:s|d/m/y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|l|D m/d|D m/d/Y|F d, Y|l, F d, Y|H:i:s|g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H|gi a|hi a|giA|hiA|gi A|hi A|y|Y-m|m|D|Y|F|M|F Y|M Y|M y|Y/m/d H:i|m/y|m Y|m/d/Y H:i|YmdHi|Ymd|d/m/Y H:i:s|c");
// parse all formats and altFormats of TimeField and DateField
Date.precompileFormats(Ext.form.TimeField.prototype.initDateFormat + " " + (Ext.form.TimeField.prototype.format + "|" + Ext.form.TimeField.prototype.altFormats).split("|").join("|" + Ext.form.TimeField.prototype.initDateFormat + " "));
Date.precompileFormats(Ext.form.TimeField.prototype.format + "|" + Ext.form.TimeField.prototype.altFormats);
Date.precompileFormats((Ext.form.DateField.prototype.format + "|" + Ext.form.DateField.prototype.altFormats).split("|").join(" " + Ext.form.DateField.prototype.initTimeFormat + "|") + " " + Ext.form.DateField.prototype.initTimeFormat);
Date.precompileFormats([
	Ext.form.TimeField.prototype.format,
	Ext.form.TimeField.prototype.altFormats,
	Ext.form.DateField.prototype.format,
	Ext.form.DateField.prototype.altFormats,
	Ext.grid.DateColumn.prototype.format,
	Ext.grid.PropertyColumnModel.prototype.dateFormat,
	Ext.DatePicker.prototype.format,
	Ext.ux.form.DateTime.dateFormat,
	Ext.ux.form.DateTime.altFormats
For some reason its doesn't want to identify the ux for precompilation. Can anybody offer some advise.

Here is the UX

http://www.sencha.com/forum/showthre...DateTime-Field


Here is my code

Code:
{xtype: 'xdatetime', name:'maintenance_date',fieldLabel:'Date & Time', tooltip: 'Date Format: YYYY-MM-DD',anchor:'-18',timeFormat:'H:i:s',timeConfig: {altFormats:'H:i:s',allowBlank:true },dateFormat:'Y-m-d',dateConfig: {altFormats: 'd/m/Y|d/m/Y', allowBlank: true},
Thanks

J.