You're right. You should an default.thtml used to load all the pages in a non-AJAX way (this pages contains all the scripts) and ajax.thtml for the AJAX communication.
Usually the AJAX transfers are simply data so it's improbably that you need some other scripts to work with it.

Regards,

--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net


On 8/24/06, KN <[EMAIL PROTECTED]> wrote:


Thanks for the replies.

Pablo , Do you  mean to say that my ajax.thtml should contain only
<?php echo $content_for_layout; ?>  ? Then where I will include all
_javascript_ files ?
Should I need to create default.thtml (layout) ? And while clicking on
any link ,
I will load through ajax  . ie render('newpage' , 'ajax') .. Am I
correct ?






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

Reply via email to