gwoo wrote: > use the RequestHandler component with ajax and the layout will be set > automatically > > >
Not sure how to use it . I added inside controller var $components = array('RequestHandler'); so from view I use $this->render('edit'); which give still me double layout from controller the same $this->render('edit'); so I need to do something in view ? I found $this->RequestHandler->setAjax($this); but where I suppose to add ? Totally confused --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---