1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <title>XML Form</title>
7 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
8 <script type="text/javascript" src="../../bootstrap.js"></script>
11 <link rel="stylesheet" type="text/css" href="../shared/example.css" />
12 <script type="text/javascript" src="../shared/states.js"></script>
15 <script type="text/javascript" src="xml-form.js"></script>
18 <h1>Loading/Saving a Dynamic Form using XML</h1>
20 This is a very simple example of using XML for load and submit of data with an Ext dynamic form.
21 For a similar example using JSON rather than XML, see the <a href="">JSON Form example</a>.
24 Click "Load" to load the <a href="xml-form-data.xml">dummy XML data</a> from the server using an XmlReader.
27 After loading the form, you will be able to hit submit. The submit action will make a post to the server,
28 and the <a href="xml-form-errors.xml">dummy XML file</a> on the server with test server-side validation
29 failure messages will be sent back. Those messages will be applied to the appropriate fields in the form.
31 <p>The js is not minified so it is readable. See <a href="xml-form.js">xml-form.js</a>.</p>
33 <div id="form-ct"></div>