-- Laurent Mestrallet <[EMAIL PROTECTED]> wrote
(on Saturday, 20 September 2008, 08:21 PM +0200):
> what you stated (The dojo integration is intended to work *with*
> Zend_Layout or some other Composite/Two Step View solution) is the
> reason why in your pastebin example, there is a 2 level layout system
> (layout.phtml that include _layout.phtml)?

The reason that was done was because I wanted to use BorderContainer for
the master layout. For that to work, I needed to create the
BorderContainer and its content *prior* to echoing the dojo() view
helper. Thus, I call:

    $content = $this->render('_layout.phtml');

at the top of layout.phtml, which allows this to work.


-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to