// Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (Index == null) var Index = {}; Index._path = '/dwr'; Index.loginOrRegister = function(p0, p1, p2, callback) { dwr.engine._execute(Index._path, 'Index', 'loginOrRegister', p0, p1, p2, callback); } Index.checkUsername = function(p0, callback) { dwr.engine._execute(Index._path, 'Index', 'checkUsername', p0, callback); } Index.loginOrRegisterOne = function(p0, p1, callback) { dwr.engine._execute(Index._path, 'Index', 'loginOrRegisterOne', p0, p1, callback); } Index.error = function(p0, callback) { dwr.engine._execute(Index._path, 'Index', 'error', p0, callback); } Index.getSession = function(callback) { dwr.engine._execute(Index._path, 'Index', 'getSession', callback); } Index.getBean = function(p0, callback) { dwr.engine._execute(Index._path, 'Index', 'getBean', p0, callback); } Index.getHttpServletResponse = function(callback) { dwr.engine._execute(Index._path, 'Index', 'getHttpServletResponse', callback); } Index.getHttpServletRequest = function(callback) { dwr.engine._execute(Index._path, 'Index', 'getHttpServletRequest', callback); } Index.getPage = function(callback) { dwr.engine._execute(Index._path, 'Index', 'getPage', callback); } Index.setSession = function(p0, p1, callback) { dwr.engine._execute(Index._path, 'Index', 'setSession', p0, p1, callback); } Index.getSessionId = function(callback) { dwr.engine._execute(Index._path, 'Index', 'getSessionId', callback); } Index.deleteSession = function(p0, callback) { dwr.engine._execute(Index._path, 'Index', 'deleteSession', p0, callback); } Index.createPage = function(p0, callback) { dwr.engine._execute(Index._path, 'Index', 'createPage', p0, callback); } Index.getApplicationContext = function(callback) { dwr.engine._execute(Index._path, 'Index', 'getApplicationContext', callback); } Index.getUser = function(callback) { dwr.engine._execute(Index._path, 'Index', 'getUser', callback); } Index.setPage = function(p0, callback) { dwr.engine._execute(Index._path, 'Index', 'setPage', p0, callback); }