Added a div with a class of "wobject" around all wobjects.
This commit is contained in:
parent
1a74ad5fe3
commit
cce031f09e
1 changed files with 2 additions and 2 deletions
|
|
@ -92,13 +92,13 @@ sub _generatePage {
|
||||||
$w = eval{$cmd->new($wobject)};
|
$w = eval{$cmd->new($wobject)};
|
||||||
WebGUI::ErrorHandler::fatalError("Couldn't instanciate wobject: ${$wobject}{namespace}. Root cause: ".$@) if($@);
|
WebGUI::ErrorHandler::fatalError("Couldn't instanciate wobject: ${$wobject}{namespace}. Root cause: ".$@) if($@);
|
||||||
if ($w->inDateRange) {
|
if ($w->inDateRange) {
|
||||||
$contentHash{"page.position".${$wobject}{templatePosition}} .= '<div class="wobject'
|
$contentHash{"page.position".${$wobject}{templatePosition}} .= '<div class="wobject"><div class="wobject'
|
||||||
.${$wobject}{namespace}.'" id="wobjectId'.${$wobject}{wobjectId}.'">';
|
.${$wobject}{namespace}.'" id="wobjectId'.${$wobject}{wobjectId}.'">';
|
||||||
$contentHash{"page.position".${$wobject}{templatePosition}} .= '<a name="'
|
$contentHash{"page.position".${$wobject}{templatePosition}} .= '<a name="'
|
||||||
.${$wobject}{wobjectId}.'"></a>';
|
.${$wobject}{wobjectId}.'"></a>';
|
||||||
$contentHash{"page.position".${$wobject}{templatePosition}} .= eval{$w->www_view};
|
$contentHash{"page.position".${$wobject}{templatePosition}} .= eval{$w->www_view};
|
||||||
WebGUI::ErrorHandler::fatalError("Wobject runtime error: ${$wobject}{namespace}. Root cause: ".$@) if($@);
|
WebGUI::ErrorHandler::fatalError("Wobject runtime error: ${$wobject}{namespace}. Root cause: ".$@) if($@);
|
||||||
$contentHash{"page.position".${$wobject}{templatePosition}} .= "</div>\n\n";
|
$contentHash{"page.position".${$wobject}{templatePosition}} .= "</div></div>\n\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue