diff Lib/IMPL/Object/Autofill.pm @ 148:e6447ad85cb4

DOM objects now have a schema and schemaSource properties RegExp now can launder data Improved post to DOM transformation (multiple values a now supported) Added new axes to navigation queries: ancestor and descendant minor changes and bug fixes
author wizard
date Mon, 16 Aug 2010 08:26:44 +0400
parents 16ada169ca75
children 4267a2ac3d46
line wrap: on
line diff
--- a/Lib/IMPL/Object/Autofill.pm	Mon Aug 09 08:45:36 2010 +0400
+++ b/Lib/IMPL/Object/Autofill.pm	Mon Aug 16 08:26:44 2010 +0400
@@ -62,7 +62,7 @@
                 } else {
                     my $fld = $prop_info->Implementor->FieldName($prop_info);
                     if ($prop_info->Mutators & prop_list) {
-                        $text .= "\t\$this->{$fld} = ref \$fields->{$name} ? \$fields->{$name} : [\$fields->{$name}] if exists \$fields->{$name};\n";
+                        $text .= "\t\$this->{$fld} = IMPL::Object::List->new ( ref \$fields->{$name} ? \$fields->{$name} : [\$fields->{$name}] ) if exists \$fields->{$name};\n";
                     } else {
                         $text .= "\t\$this->{$fld} = \$fields->{$name} if exists \$fields->{$name};\n";
                     }