public function init()
 {
     parent::init();
     if ($this->default && empty($this->value)) {
         $this->value = $this->default;
     }
     $this->bindNotNullPropertyToAttribute('value');
     $this->bindNotNullPropertyToAttribute('type');
 }
 public function init()
 {
     parent::init();
     $this->meta->name = 'textbox';
     if ($this->default && empty($this->value)) {
         $this->value = $this->default;
     }
     $this->bindPropertyToAttribute('value');
     $this->bindNotNullPropertyToAttribute('type');
     $this->bindNotNullPropertyToAttribute('disabled');
     $this->bindNotNullPropertyToAttribute('maxlenght');
     $this->bindNotNullPropertyToAttribute('emptytext');
     $this->bindNotNullPropertyToAttribute('accesskey');
 }
 public function init()
 {
     parent::init();
     $this->meta->name = 'menulist';
 }