Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / examples / form / file-upload.html
index 51ac3ec..53126e2 100644 (file)
@@ -5,13 +5,13 @@
     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
     <script type="text/javascript" src="../../adapter/ext/ext-base.js"> </script>
     <script type="text/javascript" src="../../ext-all-debug.js"> </script>
-    
+
     <link rel="stylesheet" type="text/css" href="file-upload.css"/>
-    <script type="text/javascript" src="FileUploadField.js"></script>
+    <script type="text/javascript" src="../ux/FileUploadField.js"></script>
     <script type="text/javascript" src="file-upload.js"></script>
-    
+
     <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
-    <style>
+    <style type="text/css">
         .upload-icon {
             background: url('../shared/icons/fam/image_add.png') no-repeat 0 0 !important;
         }
 </head>
 <body>
     <h1>File Upload Field</h1>
-    <p>The example js is not minified so it is readable. See <a href="file-upload.js">file-upload.js</a>.  <a href='FileUploadField.js'>FileUploadField.js</a> is the custom extension used to create the file upload field.</p>
-
+    <p>The js is not minified so it is readable. See <a href="file-upload.js">file-input.js</a>.</p>
 
     <p>
         <b>Basic FileUpload</b><br />
-        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.
         <div id="fi-basic"></div>
         <div id="fi-basic-btn"></div>
 
     <p>
         <b>Basic FileUpload (Button-only)</b><br />
-        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 <tt>Ext.form.TextField</tt> interface or by handling the <tt>fileselected</tt> event (as in this example).
         <div id="fi-button"></div>
         <div id="fi-button-msg" style="display:none;"></div>
         <div class="x-clear"></div>
     </p>
-    
+
     <p>
         <b>Form Example</b><br />
         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
         <tt>buttonCfg</tt> option to provide a customized icon upload button.
         <div id="fi-form"></div>
     </p>