Last change
on this file since 316 was
274,
checked in by hendrikvanantwerpen, 13 years ago
|
- [Client] Moved pages in subtree of rft/, allowing controllers next to them.
- [Client] Created questions page, gives overview and allows adding.
- [Client] Page controllers inherit from _Page, because the previous mechanism w
asn't working.
- [Client] Added new user registration.
- [Server] Changed user passwords to passwordHash/passwordSalt combination.
- [Server] Added simple object marshalling and unmarshalling to preserve types.
- [Server] Added ResearchToolObjectInterface? with static create() method. Implemented for all model classes.
|
File size:
808 bytes
|
Line | |
---|
1 | <div> |
---|
2 | <script type="dojo/method" data-dojo-event="onVisit"> |
---|
3 | var that = this; |
---|
4 | debugger; |
---|
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 | }); |
---|
11 | store.get(that.args.uid).then(function(obj){ |
---|
12 | that.page_session_form.innerHTML = json.toJson(obj); |
---|
13 | }); |
---|
14 | }); |
---|
15 | </script> |
---|
16 | <div class="largeFrame" style="width: 400px;"> |
---|
17 | <div class="largeTitle">Session</div> |
---|
18 | <div class="content"> |
---|
19 | <div data-rft-attach-point="page_session_form"></div> |
---|
20 | </div> |
---|
21 | </div> |
---|
22 | |
---|
23 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.