$paginator->next('Next>>', array('url' => $this->params['pass']))

On Jan 25, 10:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm using the latest nightly build of 1.2 (2007.01.24) and I'm trying
> to use pagination to display some search results.  The search
> parameters are specified as arguments to the action method like this:
>
> /controller/action/param1/param2
>
> The first page of results comes up fine, but the link generated by
> $paginator->next() in the view is incorrect, it looks like this:
>
> /controller/action/page:2
>
> I tried calling $paginator->next('Next>>', array('url' =>
> $this->params['url']['url'])) but then I get the next link like this:
>
> /controller/action/page:2/controller/action/param1/param2
>
> Does anyone know how to keep the parameters intact in the url so
> PaginatorHelper appends the pagination parameters appropriately?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to