-
31 Oct 2011 4:36 AM #1
How To get File Upload button in EXT JS Designer
How To get File Upload button in EXT JS Designer
Hi All,
How can i get file upload button or browse button in EXT Designer Tool. Can any one tell me how can get this.
-
31 Oct 2011 7:23 AM #2
What do you mean?
File upload component is there...UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
31 Oct 2011 2:07 PM #3
Ext.form.field.File
Ext.form.field.File
Have you tried to use the toolbox filter for "file" ??
I promise you, this component is there!
File_Upload.PNGPerfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...
When in doubt, check the d4mn source code!
-
31 Oct 2011 2:10 PM #4
Ext.form.TextField
Ext.form.TextField
However, if you are using a 3.3.x project... then you should use the TextField component. Just change the inputType property to "file" in the component config...
Code:MyTextFieldUi = Ext.extend(Ext.form.TextField, { inputType: 'file', initComponent: function() { MyTextFieldUi.superclass.initComponent.call(this); } });Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...
When in doubt, check the d4mn source code!


Reply With Quote