Hi dmancan,

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

Why do this?

You could just put

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

In your view to get back the content of calling the url
"/users/getUserList" in the relavent place. If you want to get the list
of users in your controller method, ensure that you have coded this
method 'getUserList' in controller 'users' to return a value ;).

HTH,

AD7six


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