| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Dojo MVC Patterns</title> |
| 5 | <link type="text/css" href="css/index-format.css" rel="stylesheet"></link> |
| 6 | </head> |
| 7 | <body> |
| 8 | <h1>Dojo MVC Patterns</h1> |
| 9 | <h2>Examples</h2> |
| 10 | <p> |
| 11 | <dl> |
| 12 | <dt><a href="test_async-mvc_input-output-simple.html">Simple data-bound fields</a></dt> |
| 13 | <dd>Simple of data binding -- no hierarchical or repeating structure nor model validation...just data binding.</dd> |
| 14 | |
| 15 | <dt><a href="test_async-mvc_group-simple.html">2nd Simple data-bound fields</a></dt> |
| 16 | <dd>"Another simple of data binding -- this one is using EditModelRefController for Reset support.</dd> |
| 17 | |
| 18 | <dt><a href="test_mvc_shipto-billto-simple.html">Ship to Bill to example</a></dt> |
| 19 | <dd>"Hello world" of data binding -- no hierarchical or repeating structure nor model validation...just data binding.</dd> |
| 20 | |
| 21 | <dt><a href="test_mvc_new_shipto-billto-simple.html">Hierarchical data-bound fields</a></dt> |
| 22 | <dd>Widgets are nested hierarchically showing relative binding context.</dd> |
| 23 | |
| 24 | <dt><a href="multiattrib/test_Toolbar.html">Bindings using multiple attributes.</a></dt> |
| 25 | <dd>The icons and labels in the toolbar are bound to the widgets on the page, also uses single direction binding and a converter.</dd> |
| 26 | |
| 27 | <dt><a href="test_mvc_new_loan-stateful.html">Data-bound form fields</a></dt> |
| 28 | <dd>Form widgets bind to model data and merge model and widget states (e.g. validity) to determine overall status. |
| 29 | Data is provided for zipcodes of 10024 or 10706 to see side-effects on completing related fields. Try other 5-digit numeric values |
| 30 | to see the effect of model-flagged invalidity on the widget. Non-numeric fields trigger widget validation |
| 31 | failures and block flushing the value to the model. Try driving housing percent above 33% to raise |
| 32 | warnings on that field through its model validity as well. Try zero'ing out all housing |
| 33 | expenses to see the effect of relevance=false on the total housing field.</dd> |
| 34 | |
| 35 | <dt><a href="test_mvc_search-results-repeat.html">Repeating templated widget content</a></dt> |
| 36 | <dd>Container "repeat" widget expands templated content and provides data binding context to child widgets.</dd> |
| 37 | |
| 38 | <dt><a href="test_mvc_search-results-ins-del.html">Repeating content with insert/delete operations</a></dt> |
| 39 | <dd>Above repeat example with mutable list for insert/delete.</dd> |
| 40 | |
| 41 | <dt><a href="test_mvc_generate-view.html">Model-bound view generation</a></dt> |
| 42 | <dd>Form generated based on JSON model provided in a text area and updated based on structural and value changes to the model.</dd> |
| 43 | </dl> |
| 44 | </p> |
| 45 | </body> |
| 46 | </html> |