| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-type" content="text/html; charset=utf-8"> |
| 5 | <title>Test template with Repeat using different exprchars.</title> |
| 6 | <script src="../../../../dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0, isDebug: 1"> |
| 7 | </script> |
| 8 | <style type="text/css"> |
| 9 | @import "../css/app-format.css"; |
| 10 | @import "../../../../dijit/themes/claro/claro.css"; |
| 11 | </style> |
| 12 | <script type="text/javascript"> |
| 13 | require([ |
| 14 | "dojo/parser", |
| 15 | "dojox/mvc/getStateful", |
| 16 | "dojox/mvc/ModelRefController", |
| 17 | "dojox/mvc/tests/test_templatedWidget/myMvcTemplated", |
| 18 | "dojo/domReady!" |
| 19 | ], function(parser, getStateful, ModelRefController, myMvcTemplated){ |
| 20 | ctrl = new ModelRefController({model: getStateful([ |
| 21 | { |
| 22 | First: "Anne", |
| 23 | Last: "Ackerman", |
| 24 | Location: "NY", |
| 25 | Office: "1S76", |
| 26 | Email: "[email protected]", |
| 27 | Tel: "123-764-8237", |
| 28 | Fax: "123-764-8228" |
| 29 | }, { |
| 30 | First: "Ben", |
| 31 | Last: "Beckham", |
| 32 | Location: "NY", |
| 33 | Office: "5N47", |
| 34 | Email: "[email protected]", |
| 35 | Tel: "123-764-8599", |
| 36 | Fax: "123-764-8600" |
| 37 | }, { |
| 38 | First: "John", |
| 39 | Last: "Jacklin", |
| 40 | Location: "CA", |
| 41 | Office: "6701", |
| 42 | Email: "[email protected]", |
| 43 | Tel: "408-764-1234", |
| 44 | Fax: "408-764-4321" |
| 45 | } |
| 46 | ])}); |
| 47 | |
| 48 | parser.parse(); |
| 49 | }); |
| 50 | </script> |
| 51 | </head> |
| 52 | <body class="claro" style="background-image: url(../images/master_detail.png)"> |
| 53 | <div id="wrapper"> |
| 54 | <div id="main"> |
| 55 | <div id="leftNav"></div> |
| 56 | <div id="mainContent"> |
| 57 | <div> |
| 58 | Test exprchar. Widget template test uses exprchar of # and others for template:#{this.index} etc. |
| 59 | </div> |
| 60 | <br/> |
| 61 | <div id="container2" data-dojo-type="dojox.mvc.tests.test_templatedWidget.myMvcTemplated" data-dojo-props="ctrl: ctrl"></div> |
| 62 | </div> |
| 63 | </div> |
| 64 | </div> |
| 65 | </body> |
| 66 | </html> |