Ignore:
Timestamp:
02/16/12 14:47:39 (13 years ago)
Author:
hendrikvanantwerpen
Message:
  • [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:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/run.js

    r260 r263  
     1require([
     2    'dijit/form/Form',
     3    'dojo/store/JsonRest',
     4    'dojo/data/ObjectStore',
     5    'dojox/grid/DataGrid',
     6    'dijit/layout/ContentPane',
     7    'dijit/layout/TabContainer',
     8    'dijit/MenuBar',
     9    'dijit/MenuBarItem',
     10    'rft/ui/MenuBarLink',
     11]);
     12
    113require(['dojo/_base/window','dojo/parser', 'rft/ui/LoginDialog',
    214    'dojo/dom', 'dojo/_base/connect', 'rft/auth', 'rft/content',
    3     'dojo/domReady!', 'dijit/layout/ContentPane', 'dijit/MenuBar',
    4     'dijit/MenuBarItem', 'rft/ui/MenuBarLink', 'rft/ui/Page'],
     15    'dojo/domReady!', ],
    516    function(win,parser,LoginDialog,dom,connect,auth,content) {
    617        parser.parse();
    718
    8         var login = new LoginDialog().placeAt(document.body);
     19        var login = new LoginDialog().placeAt(win.body());
    920        login.startup();
    1021
    1122        auth.restore()
    12         .then(function(user){
     23        .then(function(){
    1324            content.initial();
    1425        },function(){
Note: See TracChangeset for help on using the changeset viewer.