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:
808 bytes
|
Rev | Line | |
---|
[263] | 1 | <div> |
---|
| 2 | <script type="dojo/method" data-dojo-event="onVisit"> |
---|
[260] | 3 | var that = this; |
---|
[263] | 4 | debugger; |
---|
[257] | 5 | require(['dojo/_base/json','dojo/dom','dojo/store/JsonRest','dojo/domReady!'], |
---|
| 6 | function(json,dom,JsonRest){ |
---|
| 7 | var store = new JsonRest({ |
---|
| 8 | target:"../server/api.php/data/Session/", |
---|
| 9 | idProperty: 'uid' |
---|
| 10 | }); |
---|
[260] | 11 | store.get(that.args.uid).then(function(obj){ |
---|
| 12 | that.page_session_form.innerHTML = json.toJson(obj); |
---|
[257] | 13 | }); |
---|
| 14 | }); |
---|
| 15 | </script> |
---|
[260] | 16 | <div class="largeFrame" style="width: 400px;"> |
---|
[257] | 17 | <div class="largeTitle">Session</div> |
---|
| 18 | <div class="content"> |
---|
[260] | 19 | <div data-rft-attach-point="page_session_form"></div> |
---|
[257] | 20 | </div> |
---|
| 21 | </div> |
---|
| 22 | |
---|
| 23 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.