sorry

$this->render(null, null, $file);



On 7/26/06, Samuel DeVore <[EMAIL PROTECTED]> wrote:
> $this->render(null,$layout);
>
> might work
>
> http://api.cakephp.org/class_controller.html#c89d96ba75d5acfafaee61476a575353
>
> On 7/26/06, admataz <[EMAIL PROTECTED]> wrote:
> >
> > Does anyone know if there's a way to share the same view between
> > different controllers and controller actions? Or a good reason not to
> > have common views?
> >
> > Some of my controller actions output generic structured data. I would
> > like to assign a view that is shared across my app, and not bound to a
> > specific controller.
> >
> > But if I omit the view file for a specific controller action Cake
> > throws a "missing view" error, so I find I'm creating multiple copies
> > of the same file just to keep it quiet....
> >
> > -ad
> >
> >
> > > >
> >
>

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