fixed: issue with asset export HTML and putting head tags ABOVE <!doctype> and <html> tags. Now creates

a new session for each asset that it exports.
fixed: Widget gear now does not move user to a different part of the page
added a nice error message when the Widget macro can't find a URL.
This commit is contained in:
Doug Bell 2008-07-18 21:09:11 +00:00
parent 31659b00a4
commit 6f90867d26
4 changed files with 19 additions and 12 deletions

View file

@ -50,6 +50,9 @@ sub process {
# construct the absolute URL and get the asset ID
my $asset = WebGUI::Asset->newByUrl($session, $url);
if ( !$asset ) {
return "Widget: Could not find asset with URL '$url'";
}
my $assetId = $asset->getId;
# ... and the full URL. If there's an exportWidget scratch variable, we're