Hi Demian,

> Views are rendered using a hierarchy of ViewModel objects -- the layout only 
> has direct access to the top level, and the ViewModels created by your 
> controller actions are attached as children of the layout...
> 
> If you need to set values directly in the top-level layout, you can use the 
> layout() controller plug-in.

I tried that before and it didn't work. But then I found my mistake. I
tried to access the layout plugin in the constructor of my action
controller. At that time the plugin it seems that the plugin is not
ready to use.

But now it works.

Regards,

Ralf

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to