source: Dev/branches/rest-dojo-ui/client/pages/test2.html @ 263

Last change on this file since 263 was 263, checked in by hendrikvanantwerpen, 13 years ago
  • [Client] Finished page framework. See rft/ui/content.js or test files for details.
  • [Client] Allow login by pressing Enter.
  • [API] On exception include details in json response.
  • [Server Use Exceptions when save() fails, iso return values.
File size: 1.0 KB
Line 
1<div>
2    <h1>No rft.ui._Page features used</h1>
3    <div data-dojo-type="dijit.layout.TabContainer" data-dojo-props="doLayout: false" style="border: 1px solid black" id="tabber">
4        <div data-dojo-type="dijit.layout.ContentPane" title="Sessions">
5            <div data-dojo-type="dojox.grid.DataGrid" data-dojo-props="store:dojo.data.ObjectStore({objectStore: new dojo.store.JsonRest({target:'../server/api.php/data/Session/',idProperty: 'uid'})}),autoWidth:true,autoHeight:true,structure:[{name:'Title',field:'title'}]"></div>
6        </div>
7        <div data-dojo-type="dijit.layout.ContentPane" title="Details">
8            <form data-dojo-type="dijit.form.Form">
9                <fieldset>
10                    <label for="title" class="loginLabel">Title</label>
11                    <input data-dojo-type="dijit.form.TextBox" name="title" type="text" class="loginInput" />
12                </fieldset>
13                <button type="submit" data-dojo-type="dijit.form.Button">Save</button>
14            </form>
15            <div></div>
16        </div>
17    </div>
18</div>
Note: See TracBrowser for help on using the repository browser.