Hi Simeon,

I am not quite sure if I fully understand the ROR Flash stuff, but I
guess this feature is already implemented.

Within your action controller you can set any parameter in the request
object by using these two variants:

   $this->_setParam('notice', 'Successfully created');
   $this->getRequest()->setParam('notice', 'Successfully created');

Then you can use the _forward() method to process another action, like such:

   $this->_forward('yourcontroller', 'youraction');

You can even pass your parameters to the _forward method like such:

   $this->_forward('yourcontroller', 'youraction',
                   array('notice' => 'Successfully created'');

Within the other action you forwarded to you can access this parameter
like such:

   $notice =  $this->_getParam('notice');
   $notice =  $this->getRequest()->getParam('notice');

Hope this helps and if someone thinks I forgot anything please add your
comments...

Best Regards,

Ralf

Reply via email to