I am trying to use the flashmessenger controller/view plugin but i am not
getting any output at all.

In my controller i have:
LocationController:
/
  public function addAction(){
        /* snip */                      
        $this->flashMessenger()->addMessage('New location successfully
added.');
        $this->redirect()->toRoute('location', array('action' =>'list'));
    }
    
    public function listAction(){
        return array();
    }/

..and in my list.phtml view:
/echo $this->flashMessenger()->render();/

I have tried all different sorts (addInfoMessage with render('info') for
example) but the messages do not seem to be filtering through. If i
var_dump($this->flashMessenger()->getMessages()) in my view the script just
hangs :?






--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zf2-FlashMessenger-not-rendering-messages-tp4660429.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