You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
3.0 KiB
64 lines
3.0 KiB
<div class="view mblView"> |
|
<script type="dojo/require">at: "dojox/mvc/at"</script> |
|
<h1 data-dojo-type="dojox/mobile/Heading" data-dojo-props='back:"Home"'>repeat3</h1> |
|
<form name="repeatTestForm" id="repeatTestForm3"> |
|
<div class="field-title">repeat3 - - Using an mvcModel (dojox/mvc/EditStoreRefListController) with an ItemFileWriteStore which gets wrapped in DataStore, no query.</div> |
|
<div id="repeatWidget3" class="fieldset" data-dojo-type="dojox/mvc/Repeat" |
|
data-dojo-props="exprchar: '#', children: this.loadedModels.repeatmodels3.model" > |
|
<div class="row"> |
|
<input data-dojo-type="dojox/mobile/TextBox" |
|
id="nameInput3#{this.index}" data-dojo-props="value: at('rel:#{this.index}','First')" placeHolder="First Name"> |
|
<button type="button" id="detail3#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton"> |
|
Details |
|
</button> |
|
<button type="button" id="insert3#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton"> |
|
+ |
|
</button> |
|
<button type="button" id="delete3#{this.index}" data-dojo-type="dojox/mobile/Button" class="mblBlueButton"> |
|
- |
|
</button> |
|
</div> |
|
</div> |
|
<div class="spacer"></div> |
|
<div data-dojo-type="dojox/mvc/Group" |
|
data-dojo-props="target: at(this.loadedModels.repeatmodels3, 'cursor')"> |
|
<div class="field-title"> |
|
<div style="display: inline-block;" id="detailsBanner3">Details for selected index:</div> |
|
<span class="cell" id="indexOutput3" |
|
data-dojo-type="dojox/mvc/Output" |
|
data-dojo-props="value: at(this.loadedModels.repeatmodels3, 'cursorIndex')"></span> |
|
</div> |
|
<table id="table3" cellspacing="10" style="width: 100%"> |
|
<tr> |
|
<td style="width: 100px;" class="layout">First Name</td> |
|
<td class="layout"> |
|
<input id="firstInput3" data-dojo-type="dojox/mobile/TextBox" |
|
data-dojo-props="value: at('rel:', 'First'), placeholder:'First Name'"> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td style="width: 100px;" class="layout">Last Name</td> |
|
<td class="layout"> |
|
<input id="lastInput3" data-dojo-type="dojox/mobile/TextBox" |
|
|
|
data-dojo-props="placeholder:'Last Name', value: at('rel:', 'Last')"> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td style="width: 100px;" class="layout">Email</td> |
|
<td class="layout"> |
|
<input id="emailInput33" data-dojo-type="dojox/mobile/TextBox" |
|
data-dojo-props="value: at('rel:', 'Email'), placeholder:'Email'"> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td style="width: 100px;" class="layout">Telephone</td> |
|
<td class="layout"> |
|
<input id="telInput3" data-dojo-type="dojox/mobile/TextBox" |
|
data-dojo-props="value: at('rel:', 'Tel'), placeholder:'Telephone'"> |
|
</td> |
|
</tr> |
|
</table> |
|
</div> |
|
</form> |
|
</div>
|
|
|