Sudheer Satyanarayana wrote:
> 
> See what happens when you do
> $this->view->flash_messages =
> $this->_flashMessenger->getCurrentMessages();
> 

Thanks Sudheer,  that did the trick putting it in the postDispatch.  Now it
works on either redirect or forward.

  public function init()
  {
    if ($this->_flashMessenger->hasMessages())
      $this->view->flash_messages = $this->_flashMessenger->getMessages();
  }
  
  public function postDispatch()
  {
    if ($this->_flashMessenger->hasCurrentMessages())
      $this->view->flash_messages =
$this->_flashMessenger->getCurrentMessages();
  }

-- 
View this message in context: 
http://www.nabble.com/Inter-page-messaging---How-do-I-display-information-in-my-layout--tp19408777p19428618.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to