Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / data / associations.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4     <title>Lazy Loading Data Associations</title>
5     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css"/>
6     <link rel="stylesheet" type="text/css" href="../shared/example.css"/>
7     <style type="text/css">
8         .beforeload {
9             color: blue;
10         }
11         
12         .afterload {
13             color: green;
14         }
15     </style>
16     <script type="text/javascript" src="../../bootstrap.js"></script>
17     <script type="text/javascript" src="associations.js"></script>
18 </head>
19 <body>
20     <h1>Lazy Loading Data Associations</h1>
21     <p>This example demonstrates the ability to lazy load associative data. For loading nested data in a single request, see the <a href="nested-loading.html">nested-loading.html</a> example.</p>
22     <p>We look at a fictional company that sells furniture to their retail customers.</p>
23     <p>Note that each time you navigate down to a new level a separate request is sent to retrieve the appropriate data.</p>
24     <p>Once you reach the last level, we also demonstrate the ability to load back up the hierarchy. Note that this creates a new Model instance so no previous association data is present when we begin.</p>
25     
26     <p>The source is not minified and can be viewed here: <a href="associations.js">associations.js</a>.</p>
27 </body>
28 </html>