I have finally found the problem.
in *ViewYamlStrategy.php*

    /* This should return a renderer */
    public function selectRenderer(ViewEvent $e)
    {
        // here I was checking the Renderer which was not created yet
        // and instead I should've checked the model
        $model = $e->getModel();
        if (!$model instanceof YamlModel) {
            return;
        }
        return $this->renderer;
    }



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zf2-view-strategy-ViewEvent-Renderer-is-always-null-tp4661396p4661397.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to