No, as mentioned if you just have the RequestHandler component
included in your controller, it will use the Ajax layout when you make
an ajax call.

The problem is that Michael is not making an ajax call - he is simply
calling render() from the view file - which of course is still php and
server side.

1.  You can't call render() from a view - it is for controllers only.
If you want to include a common view chunk, use renderElement.
2.  If you want the result of a cake action to be included in your
page dynamically (ie via ajax), then use either the Ajax helper to add
a request, or write some javascript to do so.


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

Reply via email to