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 <[email protected]>
To:
The elegant MVC web framework <[email protected]>
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: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: 
http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/



_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to