Thanks AD. I have gone through RequestHandler and I changed the code according to that. And it is working fine.. And I removed my ajax.thtml , it is not at all required.
AD7six wrote: > add the RequestHandler component to your app controller and amongst > other things it will ensure that you get a layout for normal calls, and > not for ajax calls (i.e. what you want). > > It´s then not necessary to explicity call/refer to the ajax layout at > all. > > Cheers, > > AD7six --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
