Mercurial > pub > Impl
diff Lib/IMPL/Web/TT/Form.pm @ 144:b56ebc31bf18
Empty nodes no more created while transforming a post request to the DOM document
minor speed improvements to the object CTOR caching
Added support for a secure processing (and 'laundering' ) a CGI parameters
Many minor fixes
author | wizard |
---|---|
date | Tue, 13 Jul 2010 02:05:38 +0400 |
parents | c5bc900eefd3 |
children | bd10093bb122 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/TT/Form.pm Thu Jul 08 23:46:49 2010 +0400 +++ b/Lib/IMPL/Web/TT/Form.pm Tue Jul 13 02:05:38 2010 +0400 @@ -61,7 +61,9 @@ my @errors; if ($node) { - @errors = grep { ( $_->Node || $_->Parent) == $node } @{$this->errors}; + @errors = grep { ($_->Node || $_->Parent) == $node } @{$this->errors}; + } else { + @errors = grep $_->Schema == $sourceSchema, @{$this->errors}; } return {