AD7six wrote:

> You could just put
>
> echo $this->requestAction ("/users/getUserList",array("return"=>true));
>

I'm sorry. I tried this method and got a full page loading into another
full page.

AD7six:

I used the method as described in the manual:
http://manual.cakephp.org/chapter/controllers

function index()
    {
        $this->set('users',
$this->requestAction('/users/getUserList'));
    }

My userscontroller has the getUserList function, and my user model has
the getUserList call that is a findAll().

Like I said, it works with the aforementioned way of using the model
directly, but when I try to use the requestAction it doesn't work. The
manual seems wrong or am I missing something?


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

Reply via email to