OK.  Here's an idea.  In the example I quoted from the manual, the
view code is returned into the $userTable variable.
What you would do with it then is echo/print it into your view.

What variable is the code inside the <div id="tasks"></div> expecting
in your project/add.thtml?
If it included something like <?php echo $tasks; ?> It might work.

I'm not that flash with AJAX stuff though. ;-)
Matt

On Feb 14, 10:53 am, "jamieh" <[EMAIL PROTECTED]> wrote:
> OK, I have been playing with this.
<snip>
>                                 $this->set('tasks', 
> $this->requestAction('/tasks/index')); // the
> view I would like to grab belongs to the Tasks object/controller
>                                 $this->render('tasks', 'ajax');



--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to