I think AD7six was referring to your comment of wanting to use getUserList as an AJAX call. With AJAX, you would want to set your layout to something bare so you do not get the full page layout. RequestHandler would take care of some of this but not for this case AFAICT. In getUserList() call $this->layout = ''; or set it to 'ajax' or other bare layout. This way it works for ajax and for when you call it via requestAction.
HTH, David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---