sync
authorAlan Knowles <alan@roojs.com>
Fri, 18 Sep 2020 09:06:06 +0000 (17:06 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 18 Sep 2020 09:06:06 +0000 (17:06 +0800)
Roo/bootstrap/Card.js
docs/json/roodata.json
docs/summary.txt
examples/bootstrap/dashboard4.bjs
examples/bootstrap/dashboard4.js
examples/view/ddview.html

index be08596..dfc6a39 100644 (file)
  * @cfg {String} display_lg (none|inline|inline-block|block|table|table-cell|table-row|flex|inline-flex)
  * @cfg {String} display_xl (none|inline|inline-block|block|table|table-cell|table-row|flex|inline-flex)
  
  * @cfg {String} display_lg (none|inline|inline-block|block|table|table-cell|table-row|flex|inline-flex)
  * @cfg {String} display_xl (none|inline|inline-block|block|table|table-cell|table-row|flex|inline-flex)
  
+ * @config {Boolean} dragable  if this card can be dragged.
+ * @config {Boolean} drag_group  group for drag
+ * 
  * @constructor
  * Create a new Container
  * @param {Object} config The config object
  * @constructor
  * Create a new Container
  * @param {Object} config The config object
@@ -93,6 +97,9 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
     html : '',
     footer: '',
     
     html : '',
     footer: '',
     
+    dragable : false,
+    drag_group : false,
+    
     childContainer : false,
 
     layoutCls : function()
     childContainer : false,
 
     layoutCls : function()
@@ -158,7 +165,9 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
         };
         
         if (this.weight.length && this.weight != 'light') {
         };
         
         if (this.weight.length && this.weight != 'light') {
-            cfg.cls += ' text-white'
+            cfg.cls += ' text-white';
+        } else {
+            cfg.cls += ' text-dark'; // need as it's nested..
         }
         if (this.weight.length) {
             cfg.cls += ' bg-' + this.weight;
         }
         if (this.weight.length) {
             cfg.cls += ' bg-' + this.weight;
@@ -217,7 +226,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
         }
         // fixme ? handle objects?
         if (this.footer.length) {
         }
         // fixme ? handle objects?
         if (this.footer.length) {
-            body.cn.push({
+            cfg.cn.push({
                 tag : 'div',
                 cls : 'card-footer',
                 html: this.footer // escape?
                 tag : 'div',
                 cls : 'card-footer',
                 html: this.footer // escape?
@@ -236,7 +245,42 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
             return false;
         }
         return this.el.select('.roo-card-body-ctr',true).first();    
             return false;
         }
         return this.el.select('.roo-card-body-ctr',true).first();    
-    }
+    },
+    
+    initEvents: function() 
+    {
+        if(this.dragable){
+             this.dragZone = new Roo.dd.DragZone(this.getEl(), {
+                    containerScroll: true,
+                    ddGroup: this.drag_group || 'default_card_drag_group'
+            });
+            this.dragZone.getDragData = this.getDragData.createDelegate(this);
+        }
+        
+        
+        
+    },
+    getDragData : function(e) {
+        var target = this.getEl();
+       if (target) {
+           //this.handleSelection(e);
+           
+            var dragData = {
+                source: this,
+                copy: false,
+                nodes: this.getEl(),
+                records: []
+            };
+            
+            
+            dragData.ddel = target.dom ;       // the div element
+            Roo.log(target.getWidth( ));
+             dragData.ddel.style.width = target.getWidth() + 'px';
+            
+            return dragData;
+        }
+        return false;
+    },
     
 });
 
     
 });
 
index 11e16b6..2aca33e 100644 (file)
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "center",
           "north",
           "south",
           "center",
           "north",
           "south",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.ContentPanel",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.ContentPanel",
-        "values" : [
+        "optvals" : [
           "center",
           "north",
           "south",
           "center",
           "north",
           "south",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
         "memberOf" : "",
         "type" : "String",
         "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "top",
           "bottom"
         ]
           "top",
           "bottom"
         ]
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.ContentPanel",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.ContentPanel",
-        "values" : [
+        "optvals" : [
           "center",
           "north",
           "south",
           "center",
           "north",
           "south",
         "type" : "String",
         "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
         "memberOf" : "Roo.LayoutRegion",
         "type" : "String",
         "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
         "memberOf" : "Roo.LayoutRegion",
-        "values" : [
+        "optvals" : [
           "top",
           "bottom"
         ]
           "top",
           "bottom"
         ]
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.ContentPanel",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.ContentPanel",
-        "values" : [
+        "optvals" : [
           "center",
           "north",
           "south",
           "center",
           "north",
           "south",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : ")",
         "memberOf" : "",
         "type" : "String",
         "desc" : ")",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "success",
           "info",
           "warning",
           "success",
           "info",
           "warning",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : ") default (same as button)",
         "memberOf" : "",
         "type" : "String",
         "desc" : ") default (same as button)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "default",
           "primary",
           "secondary",
           "default",
           "primary",
           "secondary",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default null - if the button ahs active state",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default null - if the button ahs active state",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "s)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "s)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "lg",
           "sm",
           "xs"
           "lg",
           "sm",
           "xs"
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "a",
           "input",
           "submit"
           "a",
           "input",
           "submit"
         "type" : "String",
         "desc" : "w)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "w)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "default",
           "glow"
         ]
           "default",
           "glow"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : ") default",
         "memberOf" : "",
         "type" : "String",
         "desc" : ") default",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "default",
           "primary",
           "secondary",
           "default",
           "primary",
           "secondary",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "none",
           "inline",
           "inline-block",
           "none",
           "inline",
           "inline-block",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "none",
           "inline",
           "inline-block",
           "none",
           "inline",
           "inline-block",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "none",
           "inline",
           "inline-block",
           "none",
           "inline",
           "inline-block",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "none",
           "inline",
           "inline-block",
           "none",
           "inline",
           "inline-block",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "x)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "none",
           "inline",
           "inline-block",
           "none",
           "inline",
           "inline-block",
         "type" : "Number",
         "desc" : "5) H1 or H2 etc.. 0 indicates default",
         "memberOf" : "",
         "type" : "Number",
         "desc" : "5) H1 or H2 etc.. 0 indicates default",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "o)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "5)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "0",
           "1",
           "2",
           "0",
           "1",
           "2",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "k)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "k)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "primary",
           "warning",
           "info",
           "primary",
           "warning",
           "info",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "s) The text that appears beside the checkbox",
         "memberOf" : "",
         "type" : "String",
         "desc" : "s) The text that appears beside the checkbox",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "primary",
           "warning",
           "info",
           "primary",
           "warning",
           "info",
         "type" : "String",
         "desc" : "r) type alert (changes background / border...)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "r) type alert (changes background / border...)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "success",
           "info",
           "warning",
           "success",
           "info",
           "warning",
         "type" : "String",
         "desc" : ".) font awesome icon",
         "memberOf" : "",
         "type" : "String",
         "desc" : ".) font awesome icon",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "ban",
           "check",
           "..."
           "ban",
           "check",
           "..."
         "type" : "Number",
         "desc" : ".) font awsome size",
         "memberOf" : "",
         "type" : "Number",
         "desc" : ".) font awsome size",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "1",
           "2",
           "...."
           "1",
           "2",
           "...."
         "type" : "Boolean",
         "desc" : "e) hide the element",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) hide the element",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : ".) glyphicon name",
         "memberOf" : "",
         "type" : "String",
         "desc" : ".) glyphicon name",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "info-sign",
           "check",
           "..."
           "info-sign",
           "check",
           "..."
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) auto focus the first item, default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) auto focus the first item, default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "String",
         "desc" : "r) BS3 only - carat fa name",
         "memberOf" : "Roo.bootstrap.TriggerField",
         "type" : "String",
         "desc" : "r) BS3 only - carat fa name",
         "memberOf" : "Roo.bootstrap.TriggerField",
-        "values" : [
+        "optvals" : [
           "search",
           "calendar"
         ]
           "search",
           "calendar"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "Boolean",
         "desc" : "e) show mobile touch view when using a mobile default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) show mobile touch view when using a mobile default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) restrict height for touch view",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) restrict height for touch view",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) ComboBobArray, default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) ComboBobArray, default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "Roo.bootstrap.TriggerField",
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "Roo.bootstrap.TriggerField",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) render it as classic select for ios, not support dynamic load data (default false)",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) render it as classic select for ios, not support dynamic load data (default false)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "r) type alert (changes background / border...)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "r) type alert (changes background / border...)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "success",
           "info",
           "warning",
           "success",
           "info",
           "warning",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) hide the element",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) hide the element",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : ".) glyphicon name",
         "memberOf" : "",
         "type" : "String",
         "desc" : ".) glyphicon name",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "info-sign",
           "check",
           "..."
           "info-sign",
           "check",
           "..."
         "type" : "String",
         "desc" : "r) render as panel  - type - primary/success.....",
         "memberOf" : "",
         "type" : "String",
         "desc" : "r) render as panel  - type - primary/success.....",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "default",
           "primary",
           "success",
           "default",
           "primary",
           "success",
         "type" : "String",
         "desc" : "h) block to use as footer or body- needs css-bootstrap/sticky-footer.css",
         "memberOf" : "",
         "type" : "String",
         "desc" : "h) block to use as footer or body- needs css-bootstrap/sticky-footer.css",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "footer",
           "wrap",
           "push"
           "footer",
           "wrap",
           "push"
         "type" : "String",
         "desc" : "n) type of HTML tag.",
         "memberOf" : "",
         "type" : "String",
         "desc" : "n) type of HTML tag.",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "header",
           "aside",
           "section"
           "header",
           "aside",
           "section"
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "d) a well, large, small or medium.",
         "memberOf" : "",
         "type" : "String",
         "desc" : "d) a well, large, small or medium.",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "lg",
           "sm",
           "md"
           "lg",
           "sm",
           "md"
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) allow edit when upload a image default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) allow edit when upload a image default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "p) default left",
         "memberOf" : "",
         "type" : "String",
         "desc" : "p) default left",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "top"
         ]
           "left",
           "top"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) show download button (default true)",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) show download button (default true)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) show trash button (default true)",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) show trash button (default true)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) target allowBlank default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) target allowBlank default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Number",
         "desc" : "6) default 1",
         "memberOf" : "",
         "type" : "Number",
         "desc" : "6) default 1",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "1",
           "2",
           "3",
           "1",
           "2",
           "3",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string",
         "desc" : "l)",
         "memberOf" : "Roo.bootstrap.TextArea",
         "type" : "string",
         "desc" : "l)",
         "memberOf" : "Roo.bootstrap.TextArea",
-        "values" : [
+        "optvals" : [
           "none",
           "both",
           "horizontal",
           "none",
           "both",
           "horizontal",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "string",
         "desc" : "d)Specifies how the text in a text area is to be wrapped when submitted in a form",
         "memberOf" : "Roo.bootstrap.TextArea",
         "type" : "string",
         "desc" : "d)Specifies how the text in a text area is to be wrapped when submitted in a form",
         "memberOf" : "Roo.bootstrap.TextArea",
-        "values" : [
+        "optvals" : [
           "soft",
           "hard"
         ]
           "soft",
           "hard"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "p)target for a href.",
         "memberOf" : "",
         "type" : "String",
         "desc" : "p)target for a href.",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "_self",
           "_blank",
           "_parent",
           "_self",
           "_blank",
           "_parent",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "p) target for a href.",
         "memberOf" : "",
         "type" : "String",
         "desc" : "p) target for a href.",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "_self",
           "_blank",
           "_parent",
           "_self",
           "_blank",
           "_parent",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "m)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "m)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "center",
           "bottom"
         ]
           "center",
           "bottom"
         ]
         "type" : "String",
         "desc" : "e)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "e)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "xs",
           "sm",
           "md",
           "xs",
           "sm",
           "md",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "bool",
         "desc" : "e)  the menu has link disable auto expand and collaspe (default false)",
         "memberOf" : "",
         "type" : "bool",
         "desc" : "e)  the menu has link disable auto expand and collaspe (default false)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "bool",
         "desc" : "e)  Stop event after trigger press (default true)",
         "memberOf" : "",
         "type" : "bool",
         "desc" : "e)  Stop event after trigger press (default true)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "u) type of menu",
         "memberOf" : "",
         "type" : "String",
         "desc" : "u) type of menu",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "dropdown",
           "treeview",
           "submenu"
           "dropdown",
           "treeview",
           "submenu"
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default false, fix the bar at the top",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false, fix the bar at the top",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "r) default info",
         "memberOf" : "",
         "type" : "String",
         "desc" : "r) default info",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "info",
           "success",
           "warning",
           "info",
           "success",
           "warning",
         "type" : "String",
         "desc" : "r) default right (DEPRICATED) - use mr-auto on buttons to put them on the left",
         "memberOf" : "",
         "type" : "String",
         "desc" : "r) default right (DEPRICATED) - use mr-auto on buttons to put them on the left",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "right",
           "center"
           "left",
           "right",
           "center"
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "g) default empty",
         "memberOf" : "",
         "type" : "String",
         "desc" : "g) default empty",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "sm",
           "lg"
         ]
           "sm",
           "lg"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "Roo.bootstrap.ComboBox",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "Roo.bootstrap.ComboBox",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) auto focus the first item, default true",
         "memberOf" : "Roo.bootstrap.ComboBox",
         "type" : "Boolean",
         "desc" : "e) auto focus the first item, default true",
         "memberOf" : "Roo.bootstrap.ComboBox",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "String",
         "desc" : "r) BS3 only - carat fa name",
         "memberOf" : "Roo.bootstrap.TriggerField",
         "type" : "String",
         "desc" : "r) BS3 only - carat fa name",
         "memberOf" : "Roo.bootstrap.TriggerField",
-        "values" : [
+        "optvals" : [
           "search",
           "calendar"
         ]
           "search",
           "calendar"
         ]
         "type" : "Boolean",
         "desc" : "e) cast int if true (defalut true)",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) cast int if true (defalut true)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "Boolean",
         "desc" : "e) show mobile touch view when using a mobile default true",
         "memberOf" : "Roo.bootstrap.ComboBox",
         "type" : "Boolean",
         "desc" : "e) show mobile touch view when using a mobile default true",
         "memberOf" : "Roo.bootstrap.ComboBox",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) restrict height for touch view",
         "memberOf" : "Roo.bootstrap.ComboBox",
         "type" : "Boolean",
         "desc" : "e) restrict height for touch view",
         "memberOf" : "Roo.bootstrap.ComboBox",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) ComboBobArray, default false",
         "memberOf" : "Roo.bootstrap.ComboBox",
         "type" : "Boolean",
         "desc" : "e) ComboBobArray, default false",
         "memberOf" : "Roo.bootstrap.ComboBox",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "Roo.bootstrap.TriggerField",
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "Roo.bootstrap.TriggerField",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "Roo.bootstrap.ComboBox",
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "Roo.bootstrap.ComboBox",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) render it as classic select for ios, not support dynamic load data (default false)",
         "memberOf" : "Roo.bootstrap.ComboBox",
         "type" : "Boolean",
         "desc" : "e) render it as classic select for ios, not support dynamic load data (default false)",
         "memberOf" : "Roo.bootstrap.ComboBox",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "b) default nav",
         "memberOf" : "",
         "type" : "String",
         "desc" : "b) default nav",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "nav",
           "pills",
           "tab"
           "nav",
           "pills",
           "tab"
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "t) alignment",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "String",
         "desc" : "t) alignment",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) loadMask on the bar",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "Boolean",
         "desc" : "e) loadMask on the bar",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) main nav bar? default false",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "Boolean",
         "desc" : "e) main nav bar? default false",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "p) position",
         "memberOf" : "",
         "type" : "String",
         "desc" : "p) position",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "fixed-top",
           "fixed-bottom",
           "static-top"
           "fixed-top",
           "fixed-bottom",
           "static-top"
         "type" : "String",
         "desc" : "v) default is nav",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "String",
         "desc" : "v) default is nav",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "header",
           "footer",
           "nav",
           "header",
           "footer",
           "nav",
         "type" : "String",
         "desc" : "s)",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "String",
         "desc" : "s)",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "nav",
           "pills",
           "tabs"
           "nav",
           "pills",
           "tabs"
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "e) default is light.",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "String",
         "desc" : "e) default is light.",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "light",
           "primary",
           "secondary",
           "light",
           "primary",
           "secondary",
         "type" : "Boolean",
         "desc" : "e) link to element default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) link to element default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "w)the extra classes for the badge",
         "memberOf" : "",
         "type" : "String",
         "desc" : "w)the extra classes for the badge",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "bg-green",
           "bg-red",
           "bg-yellow"
           "bg-green",
           "bg-red",
           "bg-yellow"
         "type" : "String",
         "desc" : ") default none",
         "memberOf" : "",
         "type" : "String",
         "desc" : ") default none",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "default",
           "primary",
           "secondary",
           "default",
           "primary",
           "secondary",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "n) render as a href or span?",
         "memberOf" : "",
         "type" : "String",
         "desc" : "n) render as a href or span?",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "a",
           "span"
         ]
           "a",
           "span"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) Is item active default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) Is item active default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) Is item active default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) Is item active default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "m) text position default bottom",
         "memberOf" : "",
         "type" : "String",
         "desc" : "m) text position default bottom",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "top",
           "bottom"
         ]
           "top",
           "bottom"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) link to element default false",
         "memberOf" : "Roo.bootstrap.NavItem",
         "type" : "Boolean",
         "desc" : "e) link to element default false",
         "memberOf" : "Roo.bootstrap.NavItem",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "w)the extra classes for the badge",
         "memberOf" : "Roo.bootstrap.NavItem",
         "type" : "String",
         "desc" : "w)the extra classes for the badge",
         "memberOf" : "Roo.bootstrap.NavItem",
-        "values" : [
+        "optvals" : [
           "bg-green",
           "bg-red",
           "bg-yellow"
           "bg-green",
           "bg-red",
           "bg-yellow"
         "type" : "String",
         "desc" : ") default none",
         "memberOf" : "Roo.bootstrap.NavItem",
         "type" : "String",
         "desc" : ") default none",
         "memberOf" : "Roo.bootstrap.NavItem",
-        "values" : [
+        "optvals" : [
           "default",
           "primary",
           "secondary",
           "default",
           "primary",
           "secondary",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "Roo.bootstrap.NavItem",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "Roo.bootstrap.NavItem",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "n) render as a href or span?",
         "memberOf" : "Roo.bootstrap.NavItem",
         "type" : "String",
         "desc" : "n) render as a href or span?",
         "memberOf" : "Roo.bootstrap.NavItem",
-        "values" : [
+        "optvals" : [
           "a",
           "span"
         ]
           "a",
           "span"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "t) alignment",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t) alignment",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) loadMask on the bar",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) loadMask on the bar",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) main nav bar? default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) main nav bar? default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "v) default is nav",
         "memberOf" : "",
         "type" : "String",
         "desc" : "v) default is nav",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "header",
           "footer",
           "nav",
           "header",
           "footer",
           "nav",
         "type" : "String",
         "desc" : "s)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "s)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "nav",
           "pills",
           "tabs"
           "nav",
           "pills",
           "tabs"
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "e) default is light.",
         "memberOf" : "",
         "type" : "String",
         "desc" : "e) default is light.",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "light",
           "primary",
           "secondary",
           "light",
           "primary",
           "secondary",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "t) alignment",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "String",
         "desc" : "t) alignment",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) loadMask on the bar",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "Boolean",
         "desc" : "e) loadMask on the bar",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) main nav bar? default false",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "Boolean",
         "desc" : "e) main nav bar? default false",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "v) default is nav",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "String",
         "desc" : "v) default is nav",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "header",
           "footer",
           "nav",
           "header",
           "footer",
           "nav",
         "type" : "String",
         "desc" : "s)",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "String",
         "desc" : "s)",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "nav",
           "pills",
           "tabs"
           "nav",
           "pills",
           "tabs"
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "e) default is light.",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
         "type" : "String",
         "desc" : "e) default is light.",
         "memberOf" : "Roo.bootstrap.NavSimplebar",
-        "values" : [
+        "optvals" : [
           "light",
           "primary",
           "secondary",
           "light",
           "primary",
           "secondary",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "String",
         "desc" : "r) BS3 only - carat fa name",
         "memberOf" : "Roo.bootstrap.TriggerField",
         "type" : "String",
         "desc" : "r) BS3 only - carat fa name",
         "memberOf" : "Roo.bootstrap.TriggerField",
-        "values" : [
+        "optvals" : [
           "search",
           "calendar"
         ]
           "search",
           "calendar"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "Roo.bootstrap.TriggerField",
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "Roo.bootstrap.TriggerField",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : ")",
         "memberOf" : "",
         "type" : "String",
         "desc" : ")",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "success",
           "info",
           "warning",
           "success",
           "info",
           "warning",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "Boolean",
         "desc" : "e) inline the element (default true)",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) inline the element (default true)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "s) The text that appears beside the radio",
         "memberOf" : "",
         "type" : "String",
         "desc" : "s) The text that appears beside the radio",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "primary",
           "warning",
           "info",
           "primary",
           "warning",
           "info",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "r) type alert (changes background / border...)",
         "memberOf" : "Roo.bootstrap.Column",
         "type" : "String",
         "desc" : "r) type alert (changes background / border...)",
         "memberOf" : "Roo.bootstrap.Column",
-        "values" : [
+        "optvals" : [
           "success",
           "info",
           "warning",
           "success",
           "info",
           "warning",
         "type" : "Boolean",
         "desc" : "e) auto slide .. default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) auto slide .. default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : ".) font awesome icon",
         "memberOf" : "Roo.bootstrap.Column",
         "type" : "String",
         "desc" : ".) font awesome icon",
         "memberOf" : "Roo.bootstrap.Column",
-        "values" : [
+        "optvals" : [
           "ban",
           "check",
           "..."
           "ban",
           "check",
           "..."
         "type" : "Number",
         "desc" : ".) font awsome size",
         "memberOf" : "Roo.bootstrap.Column",
         "type" : "Number",
         "desc" : ".) font awsome size",
         "memberOf" : "Roo.bootstrap.Column",
-        "values" : [
+        "optvals" : [
           "1",
           "2",
           "...."
           "1",
           "2",
           "...."
         "type" : "Boolean",
         "desc" : "e) hide the element",
         "memberOf" : "Roo.bootstrap.Column",
         "type" : "Boolean",
         "desc" : "e) hide the element",
         "memberOf" : "Roo.bootstrap.Column",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : ".) glyphicon name",
         "memberOf" : "Roo.bootstrap.Column",
         "type" : "String",
         "desc" : ".) glyphicon name",
         "memberOf" : "Roo.bootstrap.Column",
-        "values" : [
+        "optvals" : [
           "info-sign",
           "check",
           "..."
           "info-sign",
           "check",
           "..."
         "type" : "Boolean",
         "desc" : "e) show arrow default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) show arrow default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "t) Specifies the alignment of a table according to surrounding text",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t) Specifies the alignment of a table according to surrounding text",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) generate tfoot, default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) generate tfoot, default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) generate thead, default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) generate thead, default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default false - body scrolled / fixed header",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false - body scrolled / fixed header",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string",
         "desc" : "l)",
         "memberOf" : "",
         "type" : "string",
         "desc" : "l)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "none",
           "both",
           "horizontal",
           "none",
           "both",
           "horizontal",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "string",
         "desc" : "d)Specifies how the text in a text area is to be wrapped when submitted in a form",
         "memberOf" : "",
         "type" : "string",
         "desc" : "d)Specifies how the text in a text area is to be wrapped when submitted in a form",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "soft",
           "hard"
         ]
           "soft",
           "hard"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "o) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "image",
           "video",
           "audio"
           "image",
           "video",
           "audio"
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) Default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "center",
           "right"
           "left",
           "center",
           "right"
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "a) use for file input only. (default empty)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "user",
           "camera"
         ]
           "user",
           "camera"
         ]
         "type" : "String",
         "desc" : "r) BS3 only - carat fa name",
         "memberOf" : "",
         "type" : "String",
         "desc" : "r) BS3 only - carat fa name",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "search",
           "calendar"
         ]
           "search",
           "calendar"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t) default left",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "left",
           "right"
         ]
           "left",
           "right"
         ]
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
         "type" : "String",
         "desc" : "t)",
         "memberOf" : "Roo.bootstrap.Input",
-        "values" : [
+        "optvals" : [
           "top",
           "left"
         ]
           "top",
           "left"
         ]
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) special filter default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) show the tabs default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) show the tabs default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) tab scrollable when mobile view default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) tab scrollable when mobile view default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) Default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "false",
           "true"
         ]
           "false",
           "true"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "e) if you have menus in the region, then you need to set this to visible.",
         "memberOf" : "",
         "type" : "String",
         "desc" : "e) if you have menus in the region, then you need to set this to visible.",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "hidden",
           "visible"
         ]
           "hidden",
           "visible"
         ]
         "type" : "String",
         "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
         "memberOf" : "",
         "type" : "String",
         "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "top",
           "bottom"
         ]
           "top",
           "bottom"
         ]
         "type" : "String",
         "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
         "memberOf" : "Roo.LayoutRegion",
         "type" : "String",
         "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
         "memberOf" : "Roo.LayoutRegion",
-        "values" : [
+        "optvals" : [
           "top",
           "bottom"
         ]
           "top",
           "bottom"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default true",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "e)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "e)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "default",
           "primary",
           "success",
           "default",
           "primary",
           "success",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
         "type" : "string|object",
         "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
         "memberOf" : "Roo.bootstrap.Component",
-        "values" : [
+        "optvals" : [
           "el",
           "parent"
         ]
           "el",
           "parent"
         ]
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "center",
           "north",
           "south",
           "center",
           "north",
           "south",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.bootstrap.panel.Content",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.bootstrap.panel.Content",
-        "values" : [
+        "optvals" : [
           "center",
           "north",
           "south",
           "center",
           "north",
           "south",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.bootstrap.panel.Content",
         "type" : "String",
         "desc" : "t) which region to put this panel on (when used with xtype constructors)",
         "memberOf" : "Roo.bootstrap.panel.Content",
-        "values" : [
+        "optvals" : [
           "center",
           "north",
           "south",
           "center",
           "north",
           "south",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "Roo.form.BasicForm",
         "type" : "Boolean",
         "desc" : "e) default false",
         "memberOf" : "Roo.form.BasicForm",
-        "values" : [
+        "optvals" : [
           "true",
           "false"
         ]
           "true",
           "false"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
         "type" : "String",
         "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
         "memberOf" : "Roo.Component",
-        "values" : [
+        "optvals" : [
           "display",
           "visibility"
         ]
           "display",
           "visibility"
         ]
index e677d25..93d7477 100644 (file)
@@ -34,6 +34,8 @@ Core Libraries
         Roo.dd.Registry
         Roo.dd.ScrollManager
         Roo.dd.StatusProxy
         Roo.dd.Registry
         Roo.dd.ScrollManager
         Roo.dd.StatusProxy
+        Examples
+            [examples/view/ddview.html] Drag and drop elements
     Signals / Events
         Roo.util.Observable
         Roo.util.DelayedTask
     Signals / Events
         Roo.util.Observable
         Roo.util.DelayedTask
index 975d23f..0b2b198 100644 (file)
@@ -7,7 +7,7 @@
  "modOrder" : "001",
  "strings" : {
   "e93b3fa481be3932aa08bd68c3deee70" : "example 1",
  "modOrder" : "001",
  "strings" : {
   "e93b3fa481be3932aa08bd68c3deee70" : "example 1",
-  "e037df87a91c6e2727f0d9eb15c8127f" : "this is the body text",
+  "60ee66eb2cd31823032664c2e9a79fd5" : "body goes here",
   "9cf863d802aca813531ca28b319ead90" : "Add Issue",
   "d9fb0367346d21079a1c52d72da61c9f" : "ticket 1"
  },
   "9cf863d802aca813531ca28b319ead90" : "Add Issue",
   "d9fb0367346d21079a1c52d72da61c9f" : "ticket 1"
  },
      "items" : [
       {
        "String header" : "example 1",
      "items" : [
       {
        "String header" : "example 1",
-       "String weight" : "light",
+       "String footer" : "a footer",
+       "String weight" : "danger",
        "xtype" : "Card",
        "$ xns" : "Roo.bootstrap",
        "xtype" : "Card",
        "$ xns" : "Roo.bootstrap",
-       "String html" : "this is the body text",
-       "String style" : "max-width:200px",
+       "String style" : "max-width:300px",
        "items" : [
         {
          "String header" : "ticket 1",
        "items" : [
         {
          "String header" : "ticket 1",
+         "String weight" : "light",
          "String margin_bottom" : 3,
          "xtype" : "Card",
          "String margin_bottom" : 3,
          "xtype" : "Card",
-         "$ xns" : "Roo.bootstrap"
+         "$ xns" : "Roo.bootstrap",
+         "String html" : "body goes here",
+         "bool dragable" : true
         },
         {
          "String weight" : "primary",
         },
         {
          "String weight" : "primary",
index a445f22..eb9ff50 100644 (file)
@@ -6,7 +6,7 @@ dashboard4 = new Roo.XComponent({
 
  _strings : {
   'e93b3fa481be3932aa08bd68c3deee70' :"example 1",
 
  _strings : {
   'e93b3fa481be3932aa08bd68c3deee70' :"example 1",
-  'e037df87a91c6e2727f0d9eb15c8127f' :"this is the body text",
+  '60ee66eb2cd31823032664c2e9a79fd5' :"body goes here",
   '9cf863d802aca813531ca28b319ead90' :"Add Issue",
   'd9fb0367346d21079a1c52d72da61c9f' :"ticket 1"
  },
   '9cf863d802aca813531ca28b319ead90' :"Add Issue",
   'd9fb0367346d21079a1c52d72da61c9f' :"ticket 1"
  },
@@ -37,17 +37,20 @@ dashboard4 = new Roo.XComponent({
      items  : [
       {
        xtype : 'Card',
      items  : [
       {
        xtype : 'Card',
+       footer : 'a footer',
        header : _this._strings['e93b3fa481be3932aa08bd68c3deee70'] /* example 1 */,
        header : _this._strings['e93b3fa481be3932aa08bd68c3deee70'] /* example 1 */,
-       html : _this._strings['e037df87a91c6e2727f0d9eb15c8127f'] /* this is the body text */,
-       style : 'max-width:200px',
-       weight : 'light',
+       style : 'max-width:300px',
+       weight : 'danger',
        xns : Roo.bootstrap,
        '|xns' : 'Roo.bootstrap',
        items  : [
         {
          xtype : 'Card',
        xns : Roo.bootstrap,
        '|xns' : 'Roo.bootstrap',
        items  : [
         {
          xtype : 'Card',
+         dragable : true,
          header : _this._strings['d9fb0367346d21079a1c52d72da61c9f'] /* ticket 1 */,
          header : _this._strings['d9fb0367346d21079a1c52d72da61c9f'] /* ticket 1 */,
+         html : _this._strings['60ee66eb2cd31823032664c2e9a79fd5'] /* body goes here */,
          margin_bottom : 3,
          margin_bottom : 3,
+         weight : 'light',
          xns : Roo.bootstrap,
          '|xns' : 'Roo.bootstrap'
         },
          xns : Roo.bootstrap,
          '|xns' : 'Roo.bootstrap'
         },
index 70bb364..8e2a983 100644 (file)
@@ -2,10 +2,7 @@
 <html>
 <head>
 <style>
 <html>
 <head>
 <style>
-* {
-       font-family:tahoma,arial,helvetica,sans-serif;
-       background-color:#EDF3FA;
-}
 
 .x-form-view {
        cursor:default;
 
 .x-form-view {
        cursor:default;
 }
 
 </style>
 }
 
 </style>
- <link rel="stylesheet" type="text/css" href="../../cssX/roojs-all.css"/>
-    <link rel="stylesheet" type="text/css" href="../../cssX/xtheme-slate.css"/>
+<link rel="stylesheet" type="text/css" href="../../cssX/roojs-all.css"/>
+<script type="text/javascript" src="../../roojs-all.js"></script>
+<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
 
 
-     <script type="text/javascript" src="../../roojs-all.js"></script>   
-  
+<script type="text/javascript" src="./ddview.js"></script>   
 <script type="text/javascript">
 <script type="text/javascript">
-Array.prototype.contains = function(element) {
-    for (var i = 0; i < this.length; i++) {
-            if (this[i] == element) {
-                return true;
-            }
-    }        
-       return false;
-};
-Roo.namespace("Roo.ux");
-
-/**
- * @class Roo.ux.DDView
- * A DnD enabled version of Roo.View.
- * @param {Element/String} container The Element in which to create the View.
- * @param {String} tpl The template string used to create the markup for each element of the View
- * @param {Object} config The configuration properties. These include all the config options of
- * {@link Roo.View} plus some specific to this class.<br>
- * <p>
- * Drag/drop is implemented by adding {@link Roo.data.Record}s to the target DDView. If copying is
- * not being performed, the original {@link Roo.data.Record} is removed from the source DDView.<br>
- * <p>
- * The following extra CSS rules are needed to provide insertion point highlighting:<pre><code>
-.x-view-drag-insert-above {
-       border-top:1px dotted #3366cc;
-}
-.x-view-drag-insert-below {
-       border-bottom:1px dotted #3366cc;
-}
-</code></pre>
- * 
- */
-Roo.ux.DDView = function(container, tpl, config) {
-    Roo.ux.DDView.superclass.constructor.apply(this, arguments);
-    this.getEl().setStyle("outline", "0px none");
-    this.getEl().unselectable();
-    if (this.dragGroup) {
-               this.setDraggable(this.dragGroup.split(","));
-    }
-    if (this.dropGroup) {
-               this.setDroppable(this.dropGroup.split(","));
-    }
-    if (this.deletable) {
-       this.setDeletable();
-    }
-    this.isDirtyFlag = false;
-       this.addEvents({
-               "drop" : true
-       });
-};
-
-Roo.extend(Roo.ux.DDView, Roo.View, {
-/**    @cfg {String/Array} dragGroup The ddgroup name(s) for the View's DragZone. */
-/**    @cfg {String/Array} dropGroup The ddgroup name(s) for the View's DropZone. */
-/**    @cfg {Boolean} copy Causes drag operations to copy nodes rather than move. */
-/**    @cfg {Boolean} allowCopy Causes ctrl/drag operations to copy nodes rather than move. */
-
-       isFormField: true,
-
-       reset: Roo.emptyFn,
-       
-       clearInvalid: Roo.form.Field.prototype.clearInvalid,
-
-       validate: function() {
-               return true;
-       },
-       
-       destroy: function() {
-               this.purgeListeners();
-               this.getEl.removeAllListeners();
-               this.getEl().remove();
-               if (this.dragZone) {
-                       if (this.dragZone.destroy) {
-                               this.dragZone.destroy();
-                       }
-               }
-               if (this.dropZone) {
-                       if (this.dropZone.destroy) {
-                               this.dropZone.destroy();
-                       }
-               }
-       },
-
-/**    Allows this class to be an Roo.form.Field so it can be found using {@link Roo.form.BasicForm#findField}. */
-       getName: function() {
-               return this.name;
-       },
-
-/**    Loads the View from a JSON string representing the Records to put into the Store. */
-       setValue: function(v) {
-               if (!this.store) {
-                       throw "DDView.setValue(). DDView must be constructed with a valid Store";
-               }
-               var data = {};
-               data[this.store.reader.meta.root] = v ? [].concat(v) : [];
-               this.store.proxy = new Roo.data.MemoryProxy(data);
-               this.store.load();
-       },
-
-/**    @return {String} a parenthesised list of the ids of the Records in the View. */
-       getValue: function() {
-               var result = '(';
-               this.store.each(function(rec) {
-                       result += rec.id + ',';
-               });
-               return result.substr(0, result.length - 1) + ')';
-       },
-       
-       getIds: function() {
-               var i = 0, result = new Array(this.store.getCount());
-               this.store.each(function(rec) {
-                       result[i++] = rec.id;
-               });
-               return result;
-       },
-       
-       isDirty: function() {
-               return this.isDirtyFlag;
-       },
-
-/**
- *     Part of the Roo.dd.DropZone interface. If no target node is found, the
- *     whole Element becomes the target, and this causes the drop gesture to append.
- */
-    getTargetFromEvent : function(e) {
-               var target = e.getTarget();
-               while ((target !== null) && (target.parentNode != this.el.dom)) {
-               target = target.parentNode;
-               }
-               if (!target) {
-                       target = this.el.dom.lastChild || this.el.dom;
-               }
-               return target;
-    },
-
-/**
- *     Create the drag data which consists of an object which has the property "ddel" as
- *     the drag proxy element. 
- */
-    getDragData : function(e) {
-        var target = this.findItemFromChild(e.getTarget());
-               if(target) {
-                       this.handleSelection(e);
-                       var selNodes = this.getSelectedNodes();
-            var dragData = {
-                source: this,
-                copy: this.copy || (this.allowCopy && e.ctrlKey),
-                nodes: selNodes,
-                records: []
-                       };
-                       var selectedIndices = this.getSelectedIndexes();
-                       for (var i = 0; i < selectedIndices.length; i++) {
-                               dragData.records.push(this.store.getAt(selectedIndices[i]));
-                       }
-                       if (selNodes.length == 1) {
-                               dragData.ddel = target.cloneNode(true); // the div element
-                       } else {
-                               var div = document.createElement('div'); // create the multi element drag "ghost"
-                               div.className = 'multi-proxy';
-                               for (var i = 0, len = selNodes.length; i < len; i++) {
-                                       div.appendChild(selNodes[i].cloneNode(true));
-                               }
-                               dragData.ddel = div;
-                       }
-                       return dragData;
-               }
-               return false;
-    },
-    
-/**    Specify to which ddGroup items in this DDView may be dragged. */
-    setDraggable: function(ddGroup) {
-       if (ddGroup instanceof Array) {
-               Roo.each(ddGroup, this.setDraggable, this);
-               return;
-       }
-       if (this.dragZone) {
-               this.dragZone.addToGroup(ddGroup);
-       } else {
-                       this.dragZone = new Roo.dd.DragZone(this.getEl(), {
-                               containerScroll: true,
-                               ddGroup: ddGroup
-                       });
-//                     Draggability implies selection. DragZone's mousedown selects the element.
-                       if (!this.multiSelect) { this.singleSelect = true; }
 
 
-//                     Wire the DragZone's handlers up to methods in *this*
-                       this.dragZone.getDragData = this.getDragData.createDelegate(this);
-               }
-    },
-
-/**    Specify from which ddGroup this DDView accepts drops. */
-    setDroppable: function(ddGroup) {
-       if (ddGroup instanceof Array) {
-               Roo.each(ddGroup, this.setDroppable, this);
-               return;
-       }
-       if (this.dropZone) {
-               this.dropZone.addToGroup(ddGroup);
-       } else {
-                       this.dropZone = new Roo.dd.DropZone(this.getEl(), {
-                               containerScroll: true,
-                               ddGroup: ddGroup
-                       });
-
-//                     Wire the DropZone's handlers up to methods in *this*
-                       this.dropZone.getTargetFromEvent = this.getTargetFromEvent.createDelegate(this);
-                       this.dropZone.onNodeEnter = this.onNodeEnter.createDelegate(this);
-                       this.dropZone.onNodeOver = this.onNodeOver.createDelegate(this);
-                       this.dropZone.onNodeOut = this.onNodeOut.createDelegate(this);
-                       this.dropZone.onNodeDrop = this.onNodeDrop.createDelegate(this);
-               }
-    },
-
-/**    Decide whether to drop above or below a View node. */
-    getDropPoint : function(e, n, dd){
-       if (n == this.el.dom) { return "above"; }
-               var t = Roo.lib.Dom.getY(n), b = t + n.offsetHeight;
-               var c = t + (b - t) / 2;
-               var y = Roo.lib.Event.getPageY(e);
-               if(y <= c) {
-                       return "above";
-               }else{
-                       return "below";
-               }
-    },
-
-    onNodeEnter : function(n, dd, e, data){
-               return false;
-    },
-    
-    onNodeOver : function(n, dd, e, data){
-               var pt = this.getDropPoint(e, n, dd);
-               // set the insert point style on the target node
-               var dragElClass = this.dropNotAllowed;
-               if (pt) {
-                       var targetElClass;
-                       if (pt == "above"){
-                               dragElClass = n.previousSibling ? "x-tree-drop-ok-between" : "x-tree-drop-ok-above";
-                               targetElClass = "x-view-drag-insert-above";
-                       } else {
-                               dragElClass = n.nextSibling ? "x-tree-drop-ok-between" : "x-tree-drop-ok-below";
-                               targetElClass = "x-view-drag-insert-below";
-                       }
-                       if (this.lastInsertClass != targetElClass){
-                               Roo.fly(n).replaceClass(this.lastInsertClass, targetElClass);
-                               this.lastInsertClass = targetElClass;
-                       }
-               }
-               return dragElClass;
-       },
-
-    onNodeOut : function(n, dd, e, data){
-               this.removeDropIndicators(n);
-    },
-
-    onNodeDrop : function(n, dd, e, data){
-       if (this.fireEvent("drop", this, n, dd, e, data) === false) {
-               return false;
-       }
-       var pt = this.getDropPoint(e, n, dd);
-               var insertAt = (n == this.el.dom) ? this.nodes.length : n.nodeIndex;
-               if (pt == "below") { insertAt++; }
-               for (var i = 0; i < data.records.length; i++) {
-                       var r = data.records[i];
-                       var dup = this.store.getById(r.id);
-                       if (dup && (dd != this.dragZone)) {
-                               Roo.fly(this.getNode(this.store.indexOf(dup))).frame("red", 1);
-                       } else {
-                               if (data.copy) {
-                                       this.store.insert(insertAt++, r.copy());
-                               } else {
-                                       data.source.isDirtyFlag = true;
-                                       r.store.remove(r);
-                                       this.store.insert(insertAt++, r);
-                               }
-                               this.isDirtyFlag = true;
-                       }
-               }
-               this.dragZone.cachedTarget = null;
-               return true;
-    },
-
-    removeDropIndicators : function(n){
-               if(n){
-                       Roo.fly(n).removeClass([
-                               "x-view-drag-insert-above",
-                               "x-view-drag-insert-below"]);
-                       this.lastInsertClass = "_noclass";
-               }
-    },
-
-/**
- *     Utility method. Add a delete option to the DDView's context menu.
- *     @param {String} imageUrl The URL of the "delete" icon image.
- */
-       setDeletable: function(imageUrl) {
-               if (!this.singleSelect && !this.multiSelect) {
-                       this.singleSelect = true;
-               }
-               var c = this.getContextMenu();
-               this.contextMenu.on("itemclick", function(item) {
-                       switch (item.id) {
-                               case "delete":
-                                       this.remove(this.getSelectedIndexes());
-                                       break;
-                       }
-               }, this);
-               this.contextMenu.add({
-                       icon: imageUrl || AU.resolveUrl("/images/delete.gif"),
-                       id: "delete",
-                       text: AU.getMessage("deleteItem")
-               });
-       },
-       
-/**    Return the context menu for this DDView. */
-       getContextMenu: function() {
-               if (!this.contextMenu) {
-//                     Create the View's context menu
-                       this.contextMenu = new Roo.menu.Menu({
-                               id: this.id + "-contextmenu"
-                       });
-                       this.el.on("contextmenu", this.showContextMenu, this);
-               }
-               return this.contextMenu;
-       },
-       
-       disableContextMenu: function() {
-               if (this.contextMenu) {
-                       this.el.un("contextmenu", this.showContextMenu, this);
-               }
-       },
-
-       showContextMenu: function(e, item) {
-        item = this.findItemFromChild(e.getTarget());
-               if (item) {
-                       e.stopEvent();
-                       this.select(this.getNode(item), this.multiSelect && e.ctrlKey, true);
-                       this.contextMenu.showAt(e.getXY());
-           }
-    },
-
-/**
- *     Remove {@link Roo.data.Record}s at the specified indices.
- *     @param {Array/Number} selectedIndices The index (or Array of indices) of Records to remove.
- */
-    remove: function(selectedIndices) {
-               selectedIndices = [].concat(selectedIndices);
-               for (var i = 0; i < selectedIndices.length; i++) {
-                       var rec = this.store.getAt(selectedIndices[i]);
-                       this.store.remove(rec);
-               }
-    },
-
-/**
- *     Double click fires the event, but also, if this is draggable, and there is only one other
- *     related DropZone, it transfers the selected node.
- */
-    onDblClick : function(e){
-        var item = this.findItemFromChild(e.getTarget());
-        if(item){
-            if (this.fireEvent("dblclick", this, this.indexOf(item), item, e) === false) {
-               return false;
-            }
-            if (this.dragGroup) {
-                   var targets = Roo.dd.DragDropMgr.getRelated(this.dragZone, true);
-                   while (targets.contains(this.dropZone)) {
-                           targets.remove(this.dropZone);
-                               }
-                   if (targets.length == 1) {
-                                       this.dragZone.cachedTarget = null;
-                       var el = Roo.get(targets[0].getEl());
-                       var box = el.getBox(true);
-                       targets[0].onNodeDrop(el.dom, {
-                               target: el.dom,
-                               xy: [box.x, box.y + box.height - 1]
-                       }, null, this.getDragData(e));
-                   }
-               }
-        }
-    },
-    
-    handleSelection: function(e) {
-               this.dragZone.cachedTarget = null;
-        var item = this.findItemFromChild(e.getTarget());
-        if (!item) {
-               this.clearSelections(true);
-               return;
-        }
-               if (item && (this.multiSelect || this.singleSelect)){
-                       if(this.multiSelect && e.shiftKey && (!e.ctrlKey) && this.lastSelection){
-                               this.select(this.getNodes(this.indexOf(this.lastSelection), item.nodeIndex), false);
-                       }else if (this.isSelected(this.getNode(item)) && e.ctrlKey){
-                               this.unselect(item);
-                       } else {
-                               this.select(item, this.multiSelect && e.ctrlKey);
-                               this.lastSelection = item;
-                       }
-               }
-    },
-
-    onItemClick : function(item, index, e){
-               if(this.fireEvent("beforeclick", this, index, item, e) === false){
-                       return false;
-               }
-               return true;
-    },
-
-    unselect : function(nodeInfo, suppressEvent){
-               var node = this.getNode(nodeInfo);
-               if(node && this.isSelected(node)){
-                       if(this.fireEvent("beforeselect", this, node, this.selections) !== false){
-                               Roo.fly(node).removeClass(this.selectedClass);
-                               this.selections.remove(node);
-                               if(!suppressEvent){
-                                       this.fireEvent("selectionchange", this, this.selections);
-                               }
-                       }
-               }
-    }
-});
-
-function initializePage() {
-       var collection=[
-               {'id':'40','entityImageUrl':'../shared/icons/fam/user_add.png','componentDescription':'Add User'},
-               {'id':'27','entityImageUrl':'../shared/icons/fam/user_delete.png','componentDescription':'Delete User'},
-               {'id':'28','entityImageUrl':'../shared/icons/fam/user_comment.png','componentDescription':'Comment on User'}
-       ];
-       var rec=Roo.data.Record.create([
-               {name:'id'},
-               {name:'entityImageUrl'},
-               {name:'componentDescription'}
-       ]);
-       var reader=new Roo.data.JsonReader({
-               root:'collection',
-               id:'id'
-       },rec);
-       var ds=new Roo.data.Store({
-               proxy:new Roo.data.MemoryProxy({collection:collection}),
-               reader:reader
-       });
-       var view=new Roo.ux.DDView('left-view-container','<div id=\u0027subcomponent_{id}\u0027 class=\u0027Subcomponent\u0027><img align=\u0027top\u0027 height=\u002716px\u0027 width=\u002716px\u0027 src=\u0027{entityImageUrl}\u0027>{componentDescription}</div>',{
-               isFormField:true,
-               name:'subComponents',
-               dragGroup:'availComponentDDGroup,subComponentDDGroup',
-               dropGroup:'availComponentDDGroup,subComponentDDGroup',
-               selectedClass: 'asp-selected',
-               jsonRoot: 'collection',
-               store: ds
-       });
-       ds.load();
-
-       collection=[];
-       rec=Roo.data.Record.create([
-               {name:'id'},
-               {name:'entityImageUrl'},
-               {name:'componentDescription'}
-       ]);
-       reader=new Roo.data.JsonReader({
-               root:'collection',
-               id:'id'
-       },rec);
-       ds=new Roo.data.Store({
-               proxy:new Roo.data.MemoryProxy({collection:collection}),
-               reader:reader
-       });
-       view=new Roo.ux.DDView('right-view-container','<div id=\u0027component_{id}\u0027 class=\u0027Component\u0027><img align=\u0027top\u0027 height=\u002716px\u0027 width=\u002716px\u0027 src=\u0027{entityImageUrl}\u0027>{componentDescription}</div>',{
-               isFormField:true,
-               name:'availableSubComponents',
-               multiSelect: true,
-               dragGroup:'subComponentDDGroup',
-               dropGroup:'availComponentDDGroup',
-               selectedClass: 'asp-selected',
-               jsonRoot: 'collection',
-               store: ds
-       });
-       ds.load();
-}
-Roo.onReady(initializePage);
 </script>
 </head>
 <body>
 </script>
 </head>
 <body>
+       
+<button type="button" onclick="RooDocs.viewSource.show('/ddview.js')">hello.js</button>for the full source code.</p>
+       
 <form  class="x-form" id="the-form">
        <div class="x-form-ct x-form-column x-form-label-left">
                <fieldset class="x-form-fieldset x-form-label-left" style="margin-left:10px" >
 <form  class="x-form" id="the-form">
        <div class="x-form-ct x-form-column x-form-label-left">
                <fieldset class="x-form-fieldset x-form-label-left" style="margin-left:10px" >