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

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

Added Dojo 1.9.3 release.

File size: 2.0 KB
Line 
1<div id="generate" class="view mblView"> 
2<div data-dojo-type="dojox/app/widgets/Container" data-dojo-props="scrollable:true" data-app-constraint="center">
3        <h1 dojoType="dojox/mobile/Heading">The App shows how to use different types of Stores and Models</h1>
4        <script type="dojo/require">at: "dojox/mvc/at"</script>
5    <h1 dojoType="dojox/mobile/Heading" back="Home">generate - Simple Form Generate Example</h1>
6    <div class="field-title"></div>
7        <div id="main">
8          <div id="leftNav">
9          </div>
10          <div id="mainContent" class="generate-maincontent">
11            <div id="outerModelArea">
12                <h3 dojoType="dojox/mobile/RoundRectCategory">Model</h3>
13                <div class="generate-textarea-row">
14                    <textarea class="generate-textarea-cell" dojoType="dojox/mobile/TextArea" id="modelArea" style="width: 300px; height: 300px;">
15{
16    "Serial": "11111",
17    "First": "John",
18    "Last": "Doe",
19    "Email": "jdoe@example.com",
20    "Phones": [
21        {
22            "Office": "111-111-1111"
23        },
24        {
25            "Mobile": "222-222-2222"
26        }
27    ]
28}
29                    </textarea>
30                </div>
31                <div class="fieldset">
32                    <div class="spacer"></div>
33                    <button id="generate1" dojoType="dojox/mobile/Button" class="mblBlueButton">Generate Form</button>
34                </div>
35            </div>
36            <div id="viewArea" style="display:none">
37                <h3 dojoType="dojox/mobile/RoundRectCategory">Generated View</h3>
38                <div class="fieldset">
39                    <div id="view" dojoType="dojox.mvc.Generate"></div>
40                </div>
41                <div class="fieldset">
42                    <div class="spacer"></div>
43                    <button id="updateModel" dojoType="dojox/mobile/Button" class="mblBlueButton">Update Model</button>
44                </div>
45            </div>
46          </div>
47        </div>
48</div>
49</div>
Note: See TracBrowser for help on using the repository browser.