[TYPO3-mvc] Flash Messages get persisted among page hits
Francois Suter
fsu-lists at cobweb.ch
Sat Apr 24 11:24:12 CEST 2010
Hi,
> It will make more sense to flag individual messages
> whether to persist or not.
This is how it was implemented eventually in v4. Whether a message
should be persisted or not is a property of the message itself. It is
then managed by the message queue by checking the message's property.
> Or maybe even mark them with a "context" (eg the page) so that even if
> the message is persisted it will only show up if the context is the same. ie there has been no
> redirect to another page. Note that the "context" would allow another page to show the message if it
> has the same "context" as the page that issued the message.
This would be very convenient. I'm using something similar in a
custom-built application I designed some years ago. Actually it is
different from persistence. A message may have a context or not as well
as being marked as persistent or not. Both these features are
complementary IMO.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-project-typo3v4mvc
mailing list