comparison Lib/IMPL/DOM/Navigator/Builder.pm @ 113:7b14e0122b79

Updated PostToDOM transformation added selectSingleNode method to IMPL::DOM::Node Implemented FormWrapper in the Web::Application::ControllerUnit
author wizard
date Fri, 21 May 2010 02:38:11 +0400
parents 0ed8e2541b1c
children e6447ad85cb4
comparison
equal deleted inserted replaced
112:0ed8e2541b1c 113:7b14e0122b79
81 return @errors; 81 return @errors;
82 } 82 }
83 83
84 sub inflateValue { 84 sub inflateValue {
85 my ($this,$value,$node) = @_; 85 my ($this,$value,$node) = @_;
86
87 $node ||= $this->Current;
86 88
87 my $nodeSchema = $this->{$_schemaNavi}->Current; 89 my $nodeSchema = $this->{$_schemaNavi}->Current;
88 90
89 my $result = eval { $nodeSchema->inflateValue($value) }; 91 my $result = eval { $nodeSchema->inflateValue($value) };
90 if (my $e=$@) { 92 if (my $e=$@) {