Removed DataTable edits from this topic branch

This commit is contained in:
Patrick Donelan 2009-03-11 18:57:21 +11:00
parent 634706efc1
commit a36750fde3
5 changed files with 10 additions and 34 deletions

View file

@ -155,7 +155,6 @@ a C<get> method to provide that information.
sub dynamicForm {
my ($self, $formDefinition, $fieldList, $parent) = @_;
my $form = $self->session->form;
foreach my $definition (reverse @{$formDefinition}) {
my $properties = $definition->{$fieldList};
foreach my $fieldname (keys %{$properties}) {
@ -166,7 +165,7 @@ sub dynamicForm {
$params{$key} = $formDefinition->[0]{name};
}
}
$params{value} = $form->get($fieldname) || $parent->get($fieldname);
$params{value} = $parent->get($fieldname);
$params{name} = $fieldname;
$self->dynamicField(%params);
}