stav wrote:
Ok, so the Flash Messages are working if I do a _redirect(), but I can't seem
to display them if I do not redirect and, instead, only _forward().  Then
the messages are not displayed until the next request.  I can get around
this, but I am curious as to why they do not show up even if I put the
getMessages() in the postDispatch():

  public function postDispatch()
  {
    $this->view->flash_messages = $this->_flashMessenger->getMessages();
See what happens when you do

$this->view->flash_messages = $this->_flashMessenger->getCurrentMessages();

instead.

    parent::postDispatch();
  }

Shouldn't this capture the new messages in the editAction()?

--

Sudheer Satyanarayana
Binary Vibes Information Technologies Pvt. Ltd.
Postal Address: #506, 10th B Main Road, I Block, Jayanagar, Bangalore – 560 011
URL : www.binaryvibes.co.in Phone: +91 80 41558451 * Mobile: +91 99005 07499 Community : http://lampcomputing.com

Reply via email to