Your update_content method should look like:

        function update_content() {
                $this->layout="ajax";
                if ($this->RequestHandler->isAjax()) {
                        $this->set('your_variable', 'sample content');
                }
        }

Besides, if you are using cake's default layout, it contains <div
id="content"> already. The update div's id must be replaced with
something unique.

hth
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to