Persist form data in the Files and Images.

Reformat lots of AdSku code, and change it to persist the storage for uploading an Image ad.
This commit is contained in:
Colin Kuskie 2009-08-28 22:56:17 +00:00
parent 9d23680e99
commit 2f3b8b8037
3 changed files with 89 additions and 91 deletions

View file

@ -181,7 +181,7 @@ deleting the file if it was specified.
sub getValue {
my $self = shift;
my $value = $self->get("value");
my $value = $self->SUPER::getValue(@_);
my $storage = WebGUI::Storage->get($self->session,$value);
if (defined $storage) {
foreach my $file (@{$storage->getFiles}) {