I tried using the requestaction method, but could only get back empty
sets.
If I do this...I get my dataset:
var $uses = array('user');
function index() {
$mdlUser = new User();
$this->set('data', $mdlUser->getUserList());
}
If I do this, I get an empty dataset:
function index()
{
$this->set('users',
$this->requestAction('/users/getUserList'));
}
I'd prefer to use the request action for ajax reasons.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---