[Catalyst] Paging and Sort example
Shevchuk S. Mikhail
sms512 at ms.tusur.ru
Tue Dec 27 14:05:29 CET 2005
After installing Catalyst::Controller::PagingAndSort, I've written
"use base 'Catalyst::Controller::PagingAndSort';" in controller, copied
templates to the root folder, but I faced with several problems:
1. There is an exception: "Can't locate object method "count" via package
"EBook::Model::CDBI::Cpu", after editing and replacing "count();" with "
count_all()" on the 134th line of PagingAndSort.pm it began to work a bit.
2.Catalyst "shows" what I was waiting for, but unlike scaffold's controller
PaginAndSort deprived of functionality: sorting and paging don't work. It
looks like scaffold - all rows are on the one page.
More information about the Catalyst
mailing list