source: Dev/trunk/src/client/dojox/app/tests/simpleModelApp/repeat/repeat3.html

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 3.0 KB
Line 
1<div class="view mblView">
2        <script type="dojo/require">at: "dojox/mvc/at"</script>
3    <h1 data-dojo-type="dojox/mobile/Heading" data-dojo-props='back:"Home"'>repeat3</h1>
4    <form name="repeatTestForm" id="repeatTestForm3">   
5    <div class="field-title">repeat3 - - Using an mvcModel (dojox/mvc/EditStoreRefListController) with an ItemFileWriteStore which gets wrapped in DataStore, no query.</div>
6      <div id="repeatWidget3" class="fieldset" data-dojo-type="dojox/mvc/Repeat"
7                data-dojo-props="exprchar: '#', children: this.loadedModels.repeatmodels3.model" >
8           <div class="row">           
9                    <input data-dojo-type="dojox/mobile/TextBox"
10                        id="nameInput3#{this.index}" data-dojo-props="value: at('rel:#{this.index}','First')" placeHolder="First Name">
11                    <button type="button" id="detail3#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton">
12                        Details
13                    </button>
14                    <button type="button" id="insert3#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton">
15                        +
16                    </button>
17                    <button type="button" id="delete3#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton">
18                        -
19                    </button>
20                </div>
21        </div>
22        <div class="spacer"></div>
23                <div data-dojo-type="dojox/mvc/Group"
24                        data-dojo-props="target: at(this.loadedModels.repeatmodels3, 'cursor')">
25                                        <div class="field-title">
26                                                <div style="display: inline-block;" id="detailsBanner3">Details for selected index:</div>
27                                                <span class="cell" id="indexOutput3"
28                                                        data-dojo-type="dojox/mvc/Output"
29                                                        data-dojo-props="value: at(this.loadedModels.repeatmodels3, 'cursorIndex')"></span>
30                                        </div>
31                                        <table id="table3" cellspacing="10"  style="width: 100%">
32                                                <tr>
33                                                        <td style="width: 100px;" class="layout">First Name</td>
34                                                        <td class="layout">                                                     
35                                                                <input  id="firstInput3" data-dojo-type="dojox/mobile/TextBox"
36                                                                        data-dojo-props="value: at('rel:', 'First'), placeholder:'First Name'">
37                                                        </td>
38                                                </tr>
39                                                <tr>
40                                                        <td style="width: 100px;" class="layout">Last Name</td>
41                                                        <td class="layout">
42                                                                <input id="lastInput3" data-dojo-type="dojox/mobile/TextBox"
43                                                                         
44                                                                        data-dojo-props="placeholder:'Last Name', value: at('rel:', 'Last')">
45                                                        </td>
46                                                </tr>
47                                                <tr>
48                                                        <td style="width: 100px;" class="layout">Email</td>
49                                                        <td class="layout">
50                                                                <input  id="emailInput33" data-dojo-type="dojox/mobile/TextBox"
51                                                                        data-dojo-props="value: at('rel:', 'Email'), placeholder:'Email'">
52                                                        </td>
53                                                </tr>
54                                                <tr>
55                                                        <td style="width: 100px;" class="layout">Telephone</td>
56                                                        <td class="layout">
57                                                                <input  id="telInput3" data-dojo-type="dojox/mobile/TextBox"
58                                                                        data-dojo-props="value: at('rel:', 'Tel'), placeholder:'Telephone'">
59                                                        </td>
60                                                </tr>
61                                        </table>
62                </div>
63                </form>
64</div>
Note: See TracBrowser for help on using the repository browser.