]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | <!DOCTYPE html>\r |
2 | <html>\r | |
3 | <head>\r | |
4 | <meta http-equiv="X-UA-Compatible" content="IE=edge">\r | |
5 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r | |
6 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">\r | |
7 | <title>Advanced Ext.ux.StatusBar Example</title>\r | |
8 | <!-- Ext -->\r | |
9 | <script type="text/javascript" src="../shared/include-ext.js"></script>\r | |
10 | <script type="text/javascript" src="../shared/options-toolbar.js"></script>\r | |
11 | \r | |
12 | <link rel="stylesheet" type="text/css" href="../shared/examples.css" />\r | |
13 | \r | |
14 | <!-- GC -->\r | |
15 | \r | |
16 | <style>\r | |
17 | .list {\r | |
18 | list-style-image:none;\r | |
19 | list-style-position:outside;\r | |
20 | list-style-type:square;\r | |
21 | padding-left:16px;\r | |
22 | }\r | |
23 | .list li {\r | |
24 | font-size:11px;\r | |
25 | padding:3px;\r | |
26 | }\r | |
27 | </style>\r | |
28 | <script type="text/javascript" src="statusbar-advanced.js"> </script>\r | |
29 | </head>\r | |
30 | <body>\r | |
31 | <h1>Advanced StatusBar Example</h1>\r | |
32 | <p>This is an advanced example of customizing the Ext.ux.StatusBar component via a plugin.</p>\r | |
33 | <p>Note that the js is not minified so it is readable. See <a href="statusbar-advanced.js">statusbar-advanced.js</a>.</p>\r | |
34 | \r | |
35 | <h2>Customizing the StatusBar</h2>\r | |
36 | <p>The ValidationStatus plugin hooks into the StatusBar and automatically\r | |
37 | monitors the validation status of any fields in the associated FormPanel. Items of interest:</p>\r | |
38 | <ul class="list">\r | |
39 | <li>The StatusBar syncs in real-time with the valid state of the form as you type</li>\r | |
40 | <li>When the form is invalid, the error status message can be clicked to hide/show a custom error list</li>\r | |
41 | <li>The error list items can be clicked to focus the associated fields</li>\r | |
42 | <li>After submitting successfully, note that the confirmation status message will fade out after 5\r | |
43 | seconds and return to the default status (this is a config option)</li>\r | |
44 | </ul><br>\r | |
45 | \r | |
46 | </body>\r | |
47 | </html>\r |