// 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 (MyList == null) var MyList = {}; MyList._path = '/dwr'; MyList.addToMyList = function(p0, callback) { dwr.engine._execute(MyList._path, 'MyList', 'addToMyList', p0, callback); } MyList.removeFromMyList = function(p0, callback) { dwr.engine._execute(MyList._path, 'MyList', 'removeFromMyList', p0, callback); } MyList.getListManager = function(callback) { dwr.engine._execute(MyList._path, 'MyList', 'getListManager', callback); } MyList.setListManager = function(p0, callback) { dwr.engine._execute(MyList._path, 'MyList', 'setListManager', p0, callback); } MyList.getProductManager = function(callback) { dwr.engine._execute(MyList._path, 'MyList', 'getProductManager', callback); } MyList.setProductManager = function(p0, callback) { dwr.engine._execute(MyList._path, 'MyList', 'setProductManager', p0, callback); } MyList.getCustomerManager = function(callback) { dwr.engine._execute(MyList._path, 'MyList', 'getCustomerManager', callback); } MyList.setCustomerManager = function(p0, callback) { dwr.engine._execute(MyList._path, 'MyList', 'setCustomerManager', p0, callback); } MyList.getCurrentCustomer = function(callback) { dwr.engine._execute(MyList._path, 'MyList', 'getCurrentCustomer', callback); } MyList.getCustomerId = function(callback) { dwr.engine._execute(MyList._path, 'MyList', 'getCustomerId', callback); }