"Content" gives the main controller. He attaches the child model to Layout ViewModel as "content". Then automatically generated widgets. With the help of "forward". Theme detector should detect "dispatch" of main controller. All other "forward" - is the formation of widgets. The detector should only work once, for the main controller. And apply the theme. Backend theme. Or frontend theme...
But the biggest problems do not begin when the layout is generated automatically. They start when the main controller itself for any purpose carries "forward". This was not at all like to think ... -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-dispatch-pre-tp4661523p4661533.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com