code: function() {
        try {
           
           // Save the previous value:
           var previousVal = null;
           
           // Close a previously created group
           if(this.group) {
              previousVal = this.group.getValue();
              this.group.close();
              this.group.destroy();
              this.groupOptionsWrapper.innerHTML = "";
           }
        
           // Get value is directly the class !!
           var classO = inputEx.getFieldClass(this.typeSelect.getValue());
           
           // Instanciate the group
           var groupParams = {fields: classO.groupOptions, parentEl: this.groupOptionsWrapper};
           this.group = new inputEx.Group(groupParams);
           
           // Set the previous name/label
           if(previousVal) {
              this.group.setValue({
                 name: previousVal.name,
                 label: previousVal.label
              });
           }
           
           // Register the updated event
           this.group.updatedEvt.subscribe(this.onChangeGroupOptions, this, true);
              
           // Create the value field
           this.updateFieldValue();
           
        } catch(ex) {
           if(YAHOO.lang.isObject(window["console"]) && YAHOO.lang.isFunction(window["console"]["log"]) ) {
              console.log("inputEx.TypeField.rebuildGroupOptions: ", ex);
           }
        }
           
     }
docs: Regenerate the property form