Does anyone know offhand if the ajax layout alters the Content-Type
header?


On Feb 14, 6:53 pm, "dr. Hannibal Lecter" <[email protected]> wrote:
> Use the ajax layout in controller, $this->layout = 'ajax', that should
> do it.
>
> On Feb 14, 4:21 pm, pavan <[email protected]> wrote:
>
> > Hi Friends,
>
> > I have problem in rendering a view bascially which belongs to
> > different controller without layout.This is my following code
>
> > pages/index.ctp:
>
> > <?php echo $this->element('note'); ?>
> > <?php echo $this->render('/learning/index',null,null); ?>
>
> > i am using cakephp1.2
>
> > Please help me to fix this problem.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to