Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / examples / direct / direct-form.php
diff --git a/examples/direct/direct-form.php b/examples/direct/direct-form.php
new file mode 100644 (file)
index 0000000..32f229a
--- /dev/null
@@ -0,0 +1,29 @@
+<html>\r
+<head>\r
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
+    <title>Ext.Direct Form Integration</title>\r
+    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />\r
+    <!-- Common Styles for the examples -->\r
+    <link rel="stylesheet" type="text/css" href="../shared/examples.css" />\r
+\r
+    <!-- GC -->\r
+       <!-- LIBS -->\r
+       <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>\r
+       <!-- ENDLIBS -->\r
+    <script type="text/javascript" src="../../ext-all.js"></script>
+    <script language="javascript" src="direct-form.js"></script>\r
+       <script type="text/javascript" src="php/api.php"></script>\r
+</head>\r
+<body>\r
+<script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->\r
+\r
+<h1>Ext.Direct Form Integration</h1>\r
+\r
+<p>The js is not minified so it is readable. See <a href="direct-form.js">direct-form.js</a>.</p>
+
+<p>The following example illustrates how to load a FormPanel or BasicForm through Ext.Direct.</p>
+<p>Notice that Direct requests will batch together if they occur within the enableBuffer delay period (in milliseconds).</p>
+<p>The Ext.Direct Form api also supports submit in addition to load. The server-side must mark the submit handler as a 'formHandler' and will not be batched.</p>\r
+\r
+</body>\r
+</html>