On 2/26/07, NOSLOW <[EMAIL PROTECTED]> wrote:
>
> This thread may be of use:
>
http://groups.google.com/group/cake-php/browse_thread/thread/5d0a4cb93d66a6c2/1d4d9e3a35ddfa47?hl=en#1d4d9e3a35ddfa47
>

It was indeed helpful. Thanks.

I have made the following changes :
- in the controller :
function index($session_id = null) {
            $this->ImportData->recursive = 0;
            $this->paginate['conditions']=array('session_id'=>$session_id);
            $this->set('importData', $this->paginate());
            $this->set('param_session_id', $session_id);
    }

- in the view :
$paginator->prev('<< previous', array('url'=>$param_session_id), null,
array('class'=>'disabled'));
$paginator->next('next >>', array('url'=>$param_session_id), null,
array('class'=>'disabled'));
$paginator->sort('session_id',null,array('url'=>$param_session_id));?></th>


Cheers,
Adrian Maier

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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