X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/examples/form/file-upload.html diff --git a/examples/form/file-upload.html b/examples/form/file-upload.html index 51ac3ecf..d280d08e 100644 --- a/examples/form/file-upload.html +++ b/examples/form/file-upload.html @@ -2,16 +2,18 @@ File Upload Field Example + + + - - - - - - - + + + + - + + + + + + + + + + + + + +

File Upload Field

-

The example js is not minified so it is readable. See file-upload.js. FileUploadField.js is the custom extension used to create the file upload field.

- +

This example utilizes a custom extension to implement a file upload field. + The js is not minified so it is readable. See file-input.js and + FileUploadField.js.

Basic FileUpload
- A typical file upload field with Ext style. Direct editing of the text field cannot be done in a + A typical file upload field with Ext style. Direct editing of the text field cannot be done in a consistent, cross-browser way, so it is always read-only in this implementation.

@@ -39,17 +56,17 @@

Basic FileUpload (Button-only)
- You can also render the file input as a button without the text field, with access to the field's value via the + You can also render the file input as a button without the text field, with access to the field's value via the standard Ext.form.TextField interface or by handling the fileselected event (as in this example).

- +

Form Example
The FileUploadField can also be used in standard form layouts, with support for anchoring, validation (the - field is required in this example), empty text, etc. This example also demonstrates using the + field is required in this example), empty text, etc. This example also demonstrates using the buttonCfg option to provide a customized icon upload button.