Added Export Page functionality

This commit is contained in:
Len Kranendonk 2004-08-06 12:57:24 +00:00
parent b662855cff
commit b6d8797a5d
13 changed files with 616 additions and 48 deletions

View file

@ -177,8 +177,16 @@ sub page {
$cache->set($output, $ttl) if ($useCache);
}
my $httpHeader = WebGUI::HTTP::getHeader();
# This allows an operation or wobject to write directly to the browser.
if ($session{page}{empty}) {
$httpHeader = $output = undef;
}
WebGUI::Session::close() unless ($useExistingSession);
return $httpHeader.$output;
}