comparison Lib/IMPL/Web/TT/Control.pm @ 126:c8dfbbdd8005

Several bug fixes Forms support pre-alfa version
author wizard
date Fri, 11 Jun 2010 04:29:51 +0400
parents a7efb3117295
children fb896377389f
comparison
equal deleted inserted replaced
125:a4b0a819bbda 126:c8dfbbdd8005
20 20
21 if ($this->document) { 21 if ($this->document) {
22 # load a template 22 # load a template
23 $args{template} = $this->document->context->template($args{template}) if ($args{template} and not ref $args{template}); 23 $args{template} = $this->document->context->template($args{template}) if ($args{template} and not ref $args{template});
24 } 24 }
25 $this->template($args{template}) if $args{template}; 25 #$this->template($args{template}) if $args{template};
26 26
27 $this->id($this->nodeName . '-' . $nextId++); 27 $this->id($this->nodeName . '-' . $nextId++);
28 $this->controlClass($args{controlClass} || 'Control'); 28 $this->controlClass($args{controlClass} || 'Control');
29 } 29 }
30 30