2009年3月7日星期六

[fw-mvc] Zend_Layout_Controller_Plugin_Layout bug or not ?

Hello,

I was using a Zend_Layout_Controller_Plugin_Layout based class as layout plugin.

I was experiencing one weird problem when running classes derived from this, for postDispatch

    public function postDispatch(Zend_Controller_Request_Abstract $request)
    {
       //my own code
    }


In case is not called

parent::postDispatch($request);

then Zend_Layout seems to be disabled automatically, so is rendered only the view.

This is the expected behavior ? I didn't posted to Issue tracker yet an issue, might be my fault...
--  Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

没有评论: