diff 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
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Navigator/Builder.pm	Tue May 18 17:59:31 2010 +0400
+++ b/Lib/IMPL/DOM/Navigator/Builder.pm	Fri May 21 02:38:11 2010 +0400
@@ -84,6 +84,8 @@
 sub inflateValue {
 	my ($this,$value,$node) = @_;
 	
+	$node ||= $this->Current;
+	
 	my $nodeSchema = $this->{$_schemaNavi}->Current;
 	
 	my $result = eval { $nodeSchema->inflateValue($value) };