my $pager = HTML::Pager->new(
query=>$self->query(),
# $self being the CGI::Application object
get_data_callback=>$get_data,
rows=>$rows,
page_size=>$self->param('page_size'),
template=>$template,
NEXT_LINK_TEXT=>'Next',
PREV_LINK_TEXT=>'Prev',
);
----- Original Message -----
From: "Phil Oertel" <[EMAIL PROTECTED]>
To: "Sam Tregar" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 6:28 PM
Subject: Re: [htmltmpl] Two HTML::Pager questions
>
> I'm glad to hear that you've used them together. After reading the FAQ
again
> I can see how it would work, except for one thing: the CGI query object.
> CGI::Application isolates me from it, but HTML::Pager expects to receive
it.
> How do I do that?
> -phil
>
>
> ----- Original Message -----
> From: "Sam Tregar" <[EMAIL PROTECTED]>
> To: "Phil Oertel" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 30, 2002 5:07 PM
> Subject: Re: [htmltmpl] Two HTML::Pager questions
>
> > Well, no, I guess they're not. Which isn't to say that they don't work
> > together just fine - I've used HTML::Pager and CGI::Application together
> > many times. HTML::Pager is just a driver for a specially setup
> > HTML::Template template; since CGI::App works well with HTML::Template
it
> > has no trouble with HTML::Pager.
> >
> > I think the integration could be tighter... Maybe it's a different
module
> > though. Maybe CGI::Application::PageModes or somesuch nastiness...
> >
> > -sam
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]