PDA

View Full Version : ExtJS 3 - File Upload



4 Mar 2014, 5:48 AM
How can I upload a file using ExtJS 3?
I watched this exmpale:
http://dev.sencha.com/deploy/ext-3.3.1/examples/form/file-upload.html
(http://dev.sencha.com/deploy/ext-3.3.1/examples/form/file-upload.html)
But it seems that extjs doesn't recognize the xtype:'fileuploadfield' nor have the object 'Ext.ux.form.FileUploadField'.

I say it according to ExtJS 3.3.1 API which can be seen here:

http://dev.sencha.com/deploy/ext-3.x/docs/

Does anyone knows?

mitchellsimoens
7 Mar 2014, 8:20 AM
The Ext.ux namespace is not included in the ext-all.js (or ext-all-debug.js) files. You have to create a <script> and <link> tag to link to it like that example does.