Hello All,

I have a controller action named listclients and here is the code
Conroller

class ClientsController extends AppController {

function listclients() {
        Configure::write('debug', '0');
                $this->Relation->recursive = 0;
                $this->set('clients', $this->paginate());
        }

}

Element

<?php  $clients  = $this->requestAction('/clients/listclients'); ?>

Code in View

<?php echo $this->renderElement('ralistclients'); ?>

I am able to pull the $clients Multi-dimmentional array fine and een
display it, but I can't Paginate . I get undefined
variable $paginate...

has anyone encountered this problem before and how was it solved?

Thanks
--~--~---------~--~----~------------~-------~--~----~
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