[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:
Do I need to remove this line:
my $page = 1;
Denny <2012 at denny.me>
The elegant MVC web framework <catalyst at lists.scsys.co.uk>
04/27/2012 02:49 PM
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.
List: Catalyst at lists.scsys.co.uk
Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst