[!!!][~FEATURE] Extbase (MVC): Improved the way flash messages are handled. Now there...
authorSebastian Kurfürst <sebastian@typo3.org>
Wed, 16 Sep 2009 10:00:10 +0000 (10:00 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Wed, 16 Sep 2009 10:00:10 +0000 (10:00 +0000)
commit2b027798e7302a854dea000c514af7d6889007ed
tree32ab39b50f277f65c7db3800c3028752fcd3ba02
parentde2c740774fc696e89ae5a189cffc8488ace953a
[!!!][~FEATURE] Extbase (MVC): Improved the way flash messages are handled. Now there is a separate "FlashMessages" object which encapsulates handling the flash messages. This removes $this->pushFlashMessage and $this->popFlashMessages inside the Controller and {flashMessages} inside Fluid Template. PLEASE UPGRADE by replacing "$this->pushFlashMessage(" with "$this->flashMessages->add(" inside your Controllers, and use <f:renderFlashMessages /> instead of the custom for loop inside your templates. Note: You can set a custom CSS class for outputting flash messages by using <f:renderFlashMessages class="..." /> inside your templates. Related to #4638.
typo3/sysext/extbase/Classes/Dispatcher.php
typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php
typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php
typo3/sysext/extbase/Classes/MVC/Controller/ControllerContext.php
typo3/sysext/extbase/Classes/MVC/Controller/FlashMessages.php [new file with mode: 0644]