I hadn't noticed. I had only checked view->element not controller-
>element.

Thanks for the tip, Andy.


On Jan 18, 10:04 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Jan 18, 9:43 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi everyone,
> > I have been thinking a bit about how elements work and how to best
> > make use of them. My starting-point is that I really don't like having
> > to "set" a variable in the controller to get it to the view and then
> > have to also pass it along to the element. This somehow feels
> > redundant to me and I have been pondering the alternatives and which
> > to favor.
>
> > Is there any special reason why elements do not get access to
> > variables set in the view?
>
> They do already 
> see:https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/view/view...
>
> hth,
>
> AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to