On Sun, Oct 4, 2009 at 1:51 PM, Cергей Inhbgkbyu <[email protected]> wrote: > (..) > 2 class MenusController extends AppController { > 7 var $components = array( 'RequestHandler' ); > (..) > 30 function ajax_test( $par ){ > 31 $this->layout="ajax";
In that case, you don't need to set the ajax layout in your action as you're using RequestHandler component that does this automatically to you. Best regards. -- MARCELO DE F. ANDRADE Belem, PA, Amazonia, Brazil Linux User #221105 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
