It sounds very strange... I've tested also server errors and everything was fine... I have no other idea but to step int the code, both extension and Ext, to see what's happening.
Printable View
It sounds very strange... I've tested also server errors and everything was fine... I have no other idea but to step int the code, both extension and Ext, to see what's happening.
You know what was wrong? :-?
I was using an upload script hosted on a different virtual host to the one I was running the upload panel from. As soon as I moved the script to the same virtual host I started to receive valid values in the upload callback. Although quite why that should have made any difference I am not entirely sure.
Hi jsakalos
I would like insert insidemy window your fantastic component!
where I wrong?Code:.
.
.
.
{
columnWidth: 0.5,
layout: 'form',
bodyStyle: 'padding:5px;',
border: false,
items: [
{xtype: 'textfield', fieldLabel: 'Business Phone', id: 'businessphone', name: 'businessphone', anchor: '95%'},
{xtype: 'textfield', fieldLabel: 'Mobile Phone', id: 'mobilephone', name: 'mobilephone', anchor: '95%'},
{xtype: 'textfield', fieldLabel: 'Tel. Extension', id: 'extension', name: 'extension', anchor: '55%'},
{xtype: 'textfield', fieldLabel: 'Department', id: 'department', name: 'department', anchor: '95%'},
{xtype: 'panel',
items: new Ext.ux.UploadForm('form-ct-in', {
autoCreate: true
, url: '/filetree/filetree.php'
, method: 'post'
, maxFileSize: 1048570
, pgCfg: {
uploadIdName: 'UPLOAD_IDENTIFIER'
, uploadIdValue: 'auto'
, progressBar: true
, progressTarget: 'under'
, interval: 1000
, maxPgErrors: 10
, options: {
url: 'progress.php'
, method: 'post'
// , callback: pgCallback
}
}
, baseParams: {
cmd:'upload'
, path: 'root'
}
})
}
]
}
.
.
.
.
thanks
UploadForm is for Ext 1.x. Use UploadPanel instead.
Hello all,
I would like to know if anyone has implemented this amazing work in ExtJS 3.x.x if so please share it ;).
You may have a look here