Before you start implementing your own message handler, you should have a
look at
http://framework.zend.com/manual/en/zend.controller.actionhelpers.html

-----Ursprüngliche Nachricht-----
Von: Julian Davchev [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 22. Juni 2007 14:23
An: Zend Framework General
Betreff: [fw-general] showing simple success/error messages. zf workflow


Hi,

We all know about the problem with refreshing page , when it says there
is post data...do you want to resubmit etc.
How could that be avoided with ZF.


Only way I know to  browser not show this message about posted data...is
to redirect. Problem with redirecting is
how do you transfer/show the success/error message - I am thinking to
write messages in sessions but would be kind of weird I think.
If I use just $this->_forward()    I can  messages in normal
workflow...but post data is kept in browser.

Other option I see is using Ajax solution, but then again, I want the
system to work with/wihtout ajax enabled(javascript).

How do you solve this issue, any good practices?

Reply via email to