[Catalyst] Paging problem

Kenneth S Mclane ksmclane at us.ibm.com
Fri Apr 27 20:23:13 GMT 2012


I removed that line but it makes no difference. I am pretty sure that I 
need to hook my pager to my accounts in the stash, but I don't know how. 
Or I need to figure out a different way to do this.


From:
Alex Povolotsky <tarkhil at over.ru>
To:
The elegant MVC web framework <catalyst at lists.scsys.co.uk>
Date:
04/27/2012 03:17 PM
Subject:
Re: [Catalyst] Paging problem



On 04/28/12 00:05, Kenneth S Mclane wrote: 


ok, I tried this: 

my ($self, $c, $page) = @_; 

and my template code is issueing uri's like this: 

http://localhost:3000/accountview/list?page=4 

Do I need to remove this line: 

 my $page = 1; 
It depends on what do you need. If you want paging to work, you'd better 
don't hardcode 1st page.

Alex
P.S. Never try to copypaste a working program/config file. Always 
understand what are you doing. Each time I've tried to copypaste more or 
less complex thing, I've spent much more time than required for reading 
manuals._______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: 
http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20120427/252dcd41/attachment.htm


More information about the Catalyst mailing list