I use this code: function updatemap() { $this->RequestHandler->setAjax($this); $this->RequestHandler->setContent('xml'); $this->render('xml'); }
that is a result of different tests. xml.thtml is a test file that contains pure xml, I've an ajax object that calls updatemap() and this action must return an xml file. I've set debug to 0, but my js class tell me that it cannot parse the file. what's wrong? I've not seen very much of setContent around here. thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---