fixed a bug in uss, template selection, and added a new template variable for wobject proxies.

This commit is contained in:
JT Smith 2004-08-27 18:16:07 +00:00
parent 82daf4f984
commit 3679c31973
6 changed files with 36 additions and 3 deletions

View file

@ -602,6 +602,8 @@ sub generate {
if ($wobjectProxy->{overrideTemplate}) {
${$wobject}{templateId} = $wobjectProxy->{proxiedTemplateId};
}
my $originalWobjectPage = WebGUI::Page->new($wobject->{pageId});
$wobject->{'original.page.url'} = WebGUI::URL::gateway($originalWobjectPage->get("urlizedTitle"));
}
}
my $cmd = "WebGUI::Wobject::".${$wobject}{namespace};