examples/bootstrap/TabPanel-ComboBox.js
[roojs1] / examples / bootstrap / TabPanel-ComboBox.js
index 6d7c2bf..56668fc 100644 (file)
@@ -13,16 +13,10 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({
     _tree : function()
     {
         
-        this.parent = {
-            el : new Roo.bootstrap.Body()
-        }
-        this.parent.el.layout = false;
-        this.parent.el.render(document.body);
         
         var _this = this;
         var MODULE = this;
-        var baseURL = '/web.eventmanager/demo.local.php';
-        
+         
         return {
             xtype: 'Body',
             xns: Roo.bootstrap,
@@ -187,7 +181,7 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({
                                                                                                 proxy : {
                                                                                                     xtype: 'HttpProxy',
                                                                                                     xns: Roo.data,
-                                                                                                    url : './data.country.js',
+                                                                                                    url : '../bootstrap/data.country.js',
                                                                                                     method : 'GET'
                                                                                                 },
                                                                                                 reader : {
@@ -297,7 +291,7 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({
                                                                                                 proxy : {
                                                                                                     xtype: 'HttpProxy',
                                                                                                     xns: Roo.data,
-                                                                                                    url : './data.country.js',
+                                                                                                    url : '../bootstrap/data.country.js',
                                                                                                     method : 'GET'
                                                                                                 },
                                                                                                 reader : {
@@ -403,7 +397,7 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({
                                                                                         proxy : {
                                                                                             xtype: 'HttpProxy',
                                                                                             xns: Roo.data,
-                                                                                            url : './data.country.js',
+                                                                                            url : '../bootstrap/data.country.js',
                                                                                             method : 'GET'
                                                                                         },
                                                                                         reader : {
@@ -419,7 +413,7 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({
                                                                                                     'type': 'string'
                                                                                                 },
                                                                                                 {
-                                                                                                    'name': 'name',
+                                                                                                    'name': 'title',
                                                                                                     'type': 'string'
                                                                                                 }
                                                                                             ]