[Catalyst] Paging problem
Kenneth S Mclane
ksmclane at us.ibm.com
Fri Apr 27 20:05:22 GMT 2012
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;
From:
Denny <2012 at denny.me>
To:
The elegant MVC web framework <catalyst at lists.scsys.co.uk>
Date:
04/27/2012 02:49 PM
Subject:
Re: [Catalyst] Paging problem
On Fri, 2012-04-27 at 14:22 -0500, Kenneth S Mclane wrote:
> ok, I used bits from all over and have this sub now:
[...]
> my $page = 1;
[...]
> when clicking any link the data doesn't change.
>
That seems reasonable. You need to change the value of $page if you
want to move to the next page of data - pass it in as a parameter.
Cheers,
Denny
_______________________________________________
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/e4c457b5/attachment.htm
More information about the Catalyst
mailing list