roojs-all.js
[roojs1] / examples / bootstrap / ComboBox.js
index 0c1a444..d5002f8 100644 (file)
@@ -3,26 +3,20 @@
 Roo.example = Roo.example || {};
 
 Roo.example.combobox = new Roo.XComponent({
-    part     :  ["layout","viewpanel"],
+    part     :  ["example","combobox"],
     order    : '001-viewpanel',
     region   : '',
-    parent   : '#bootstrap',
+    parent   : false,
     name     : "unnamed module",
     disabled : false, 
     permname : '', 
     _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,
@@ -75,7 +69,7 @@ Roo.example.combobox = new Roo.XComponent({
                         proxy : {
                             xtype: 'HttpProxy',
                             xns: Roo.data,
-                            url : '../boostrap/data.country.js',
+                            url : '../bootstrap/data.country.js',
                             method : 'GET'
                         },
                         reader : {