ok, I used bits from all over and have this sub now:
sub list :Local {
my ($self, $c) = @_;
my $page = 1;
my $rs = $c-model('ORANGES::AccountView')-search_rs(undef, {
order_by = 'account_code',
rows = 15,
page = $page,
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
/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
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
http://localhost:3000/accountview/list?page=4
Do I need to remove this line:
my $page = 1;
It
Alex Povolotsky wrote:
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
http://localhost:3000/accountview/list?page=4
Do I need to remove this line:
my
@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
:
04/27/2012 03:20 PM
Subject:
Re: [Catalyst] Paging problem
Alex Povolotsky wrote:
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
http://localhost
= $rs-pager());
}
and now it works!
Thanks all. I will be back.
From: Cory Watson jheep...@gmail.com To:
The elegant MVC web framework catalyst@lists.scsys.co.uk
Date: 04/27/2012 03:20 PM Subject: Re: [Catalyst] Paging problem
--
Alex Povolotsky wrote