updating stuff for new paginator
This commit is contained in:
parent
16e9d39a71
commit
019c28e63e
23 changed files with 46 additions and 31 deletions
|
|
@ -161,7 +161,8 @@ sub www_view {
|
|||
$var{isLastPage} = 1;
|
||||
} else {
|
||||
my @pages = split(/\^\-\;/,$var{description});
|
||||
my $p = WebGUI::Paginator->new(WebGUI::URL::page("wid=".$_[0]->get("wobjectId")."&func=view"),\@pages,1);
|
||||
my $p = WebGUI::Paginator->new(WebGUI::URL::page("wid=".$_[0]->get("wobjectId")."&func=view"),1);
|
||||
$p->setDataByArrayRef(\@pages);
|
||||
$var{description} = $p->getPage;
|
||||
$var{firstPage} = $p->getFirstPageLink;
|
||||
$var{lastPage} = $p->getLastPageLink;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue