Um, I would guess that you can't see anything because it's all in the
header...

As far as RequestHandler goes, it just detects when a call was made via
Ajax, and it switches from the 'default' layout to the 'ajax' layout
(which is just a blank layout).

If you're making the Ajax call via the Prototype library, just put this
in your view:
<?=$javascript->object($data, true, 'var data = ', ';'); ?>

Then, the code will be evaluated on the client side, and the JavaScript
'data' variable will be set with the contents of your array.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to