This is something that i've done a million times without fail outside this
framework, and the framework looks like it has an easy API to use such a
feature. 
Having said that, someone please point out the errors of my ways....

I have a controller that looks something like this....

class MyController
{

        
    public function init() 
    { 
        $this->_flashMessenger = $this->_helper->getHelper('FlashMessenger');
        $this->_redirector = $this->_helper->getHelper('Redirector');

....snip....

    }

    public function openAction() {
        
     ....snip...
        
        $this->_flashMessenger->addMessage('Event Opened');
        $this->_redirector->gotoUrl($this->view->url(array(),
'admin.list_events'));

      ....snip....
    }
    
     public function listAction() {
        $this->view->messages = $this->_flashMessenger->getMessages();
        
        print_r($_SESSION);
    }

I'm using the stable version of 1.6.1....

I don't see my message and I don't even see it in the $_SESSION
superglobal....

If there's anymore information needed, please let me know...

-- 
View this message in context: 
http://www.nabble.com/FlashMessenger-tp19805597p19805597.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to