Added mail form wobject.

This commit is contained in:
JT Smith 2002-07-08 02:19:46 +00:00
parent 122cac8bd5
commit 4b6ef30ced
4 changed files with 721 additions and 3 deletions

View file

@ -135,10 +135,10 @@ sub _loadWobjects {
$namespace = $1;
$cmd = "use WebGUI::Wobject::".$namespace;
eval($cmd);
WebGUI::ErrorHandler::fatalError("Wobject failed to compile: $namespace.") if($@);
WebGUI::ErrorHandler::fatalError("Wobject failed to compile: $namespace. ".$@) if($@);
$cmd = "\$WebGUI::Wobject::".$namespace."::name";
$session{wobject}{$namespace} = eval($cmd);
WebGUI::ErrorHandler::fatalError("No name method in wobject: $namespace.") if($@);
WebGUI::ErrorHandler::fatalError("No name method in wobject: $namespace. ".$@) if($@);
}
}
closedir(DIR);