sub table_data {
my $self = shift;
my @outer_loop;
for (my $row = 0; $row <= @{$self->{selection}}; $row++) {
my %hash;
$hash{table_data_begin_row} = q{};
my @inner_loop;
for (my $col = 0; $col <= @{$self->{selectionAttr}}; $col++) {
my %hash;
$hash{table_data} = $self->{selection}[$row][$col];
push @inner_loop, \%hash;
}
$hash{table_data_close_row} = q{};
$hash{table_data} = \@inner_loop;
push @outer_loop, \%hash;
}
$self->{tmpl_obj}->param(table_data_loop => \@outer_loop);
}
####