dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
47 lines (38 loc) • 2.64 kB
HTML
<html>
<head>
<title>Dojo MVC Patterns</title>
<link type="text/css" href="css/index-format.css" rel="stylesheet"></link>
</head>
<body>
<h1>Dojo MVC Patterns</h1>
<h2>Examples</h2>
<p>
<dl>
<dt><a href="test_async-mvc_input-output-simple.html">Simple data-bound fields</a></dt>
<dd>Simple of data binding -- no hierarchical or repeating structure nor model validation...just data binding.</dd>
<dt><a href="test_async-mvc_group-simple.html">2nd Simple data-bound fields</a></dt>
<dd>"Another simple of data binding -- this one is using EditModelRefController for Reset support.</dd>
<dt><a href="test_mvc_shipto-billto-simple.html">Ship to Bill to example</a></dt>
<dd>"Hello world" of data binding -- no hierarchical or repeating structure nor model validation...just data binding.</dd>
<dt><a href="test_mvc_new_shipto-billto-simple.html">Hierarchical data-bound fields</a></dt>
<dd>Widgets are nested hierarchically showing relative binding context.</dd>
<dt><a href="multiattrib/test_Toolbar.html">Bindings using multiple attributes.</a></dt>
<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>
<dt><a href="test_mvc_new_loan-stateful.html">Data-bound form fields</a></dt>
<dd>Form widgets bind to model data and merge model and widget states (e.g. validity) to determine overall status.
Data is provided for zipcodes of 10024 or 10706 to see side-effects on completing related fields. Try other 5-digit numeric values
to see the effect of model-flagged invalidity on the widget. Non-numeric fields trigger widget validation
failures and block flushing the value to the model. Try driving housing percent above 33% to raise
warnings on that field through its model validity as well. Try zero'ing out all housing
expenses to see the effect of relevance=false on the total housing field.</dd>
<dt><a href="test_mvc_search-results-repeat.html">Repeating templated widget content</a></dt>
<dd>Container "repeat" widget expands templated content and provides data binding context to child widgets.</dd>
<dt><a href="test_mvc_search-results-ins-del.html">Repeating content with insert/delete operations</a></dt>
<dd>Above repeat example with mutable list for insert/delete.</dd>
<dt><a href="test_mvc_generate-view.html">Model-bound view generation</a></dt>
<dd>Form generated based on JSON model provided in a text area and updated based on structural and value changes to the model.</dd>
</dl>
</p>
</body>
</html>