a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily.

This commit is contained in:
Matthew Wilson 2006-01-16 22:45:21 +00:00
parent 5fadc70eac
commit 09483e18c5
208 changed files with 505 additions and 533 deletions

View file

@ -60,7 +60,7 @@ Dynamically creates functions on the fly for all the different form control type
sub AUTOLOAD {
our $AUTOLOAD;
my $name = ucfirst((split /::/, $AUTOLOAD)[-1]);
my $session = shift;
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
my @params = @_;
my $cmd = "use WebGUI::Form::".$name;
eval ($cmd);
@ -123,7 +123,7 @@ If you want to add anything special to the form header like javascript actions o
=cut
sub formHeader {
my $session = shift;
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
my $params = shift;
my $action = $params->{action} || $session->url->page();
my $hidden;