18 Feb 21:53
issues with stickiness of loaded data
Hugh Esco <he <at> reclaimedcomputers.ca>
2006-02-18 20:53:37 GMT
2006-02-18 20:53:37 GMT
Hello folks. I'm building a class which uses CGI::FormBuilder for rendering its forms. I have code which
parses a text file. I need to present the form preloaded with the content parsed from the text file, ready
for further maniuplation.
$defref = {
email_subject => "PrsRls: Testing Software",
distribute_by => [],
release_date => $releasedate,
contact => $contact,
title => $title,
subtitle => $subtitle,
body => $body,
more_info => $moreinfo,
};
print STDERR "About to render page with test release loaded:\n",
$title,$subtitle,"\n";
print $form->render(header => 1, sticky => 1, values => $defref );
print STDERR "Should have just rendered form.\n",
$releasedate,"\n",$title,"\n",
"\$defref is $defref.\n";
print STDERR "In fact, \$defref says the title is: \n$defref->{tit
+le}";
following as best as I can the advice at: http://www.formbuilder.org/contrib/author.pl
In the logs I get:
Now running DistroPrsRls::setup() method.
Just ran setup() method.
(Continue reading)
RSS Feed