source:
trunk/workshop-routing-foss4g/web/GeoExt/examples/attribute-form.html
@
81
Revision 76, 1.4 KB checked in by djay, 13 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[76] | 1 | <html> |
2 | <head> | |
3 | <title>Attribute Form</title> | |
4 | ||
5 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/adapter/ext/ext-base.js"></script> | |
6 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/ext-all.js"></script> | |
7 | <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/resources/css/ext-all.css" /> | |
8 | <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/examples/shared/examples.css" /> | |
9 | <script src="http://www.openlayers.org/api/2.10/OpenLayers.js"></script> | |
10 | <script type="text/javascript" src="../script/GeoExt.js"></script> | |
11 | ||
12 | <script type="text/javascript" src="attribute-form.js"></script> | |
13 | ||
14 | </head> | |
15 | <body> | |
16 | <h1>Attribute Form</h1> | |
17 | ||
18 | <p>This example shows how to create a form with fields creates from | |
19 | attributes read from a WFS DescribeFeatureType response. This can be | |
20 | useful when doing feature editing with WFS-T.</p> | |
21 | ||
22 | <p>Note that validation is activated based on the restriction | |
23 | information read from the DescribeFeatureType document. For example the | |
24 | "STATE_NAME", "STATE_FIPS", "SUB_REGION", and "STATE_ABBR" text fields | |
25 | indicate errors if more than 5 characters are entered.</p> | |
26 | ||
27 | <p>Note that the js is not minified so it is readable. | |
28 | See <a href="attribute-form.js">attribute-form.js</a>.</p> | |
29 | ||
30 | </body> | |
31 | </html> |
Note: See TracBrowser
for help on using the repository browser.