comparison Lib/IMPL/Web/View/TTContext.pm @ 353:feeb3bc4a818

corrected error handling while loading templates corrected variables lookup in controls updated handles to use the new view features
author cin
date Fri, 11 Oct 2013 15:49:04 +0400
parents 675cd1829255
children 9330835535b9
comparison
equal deleted inserted replaced
352:675cd1829255 353:feeb3bc4a818
108 class => $class 108 class => $class
109 }; 109 };
110 $this->modules->{$file} = $info; 110 $this->modules->{$file} = $info;
111 return $cache->{$name} = $info; 111 return $cache->{$name} = $info;
112 } else { 112 } else {
113 my $err = $@;
114
115 for(my $t = $err; is($t,'Template::Exception'); $t = $t->info ) {
116 die $err unless $t->type eq Template::Constants::ERROR_FILE;
117 }
113 $this->modules->{$file} = undef; 118 $this->modules->{$file} = undef;
114 } 119 }
115 } 120 }
116 } 121 }
117 122