Feature #59244

Message or Container needs context

Added by Carsten Bleicker about 1 year ago.

Status:New Start date:2014-05-31
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
PHP Version: Complexity:
Has patch:No

Description

In order to be able to publish f.e. page and plugin messages and show them at different places
it could be usefull to set their context and also flush them by context.

This could be done f.e. using an additional argument in the ActionController->addFlashMessage().

Example:

public function addFlashMessage(.., .., .., $container = NULL){
   if($container === NULL) $container = $this->flashMessageContainers->getDefaultContainer();
   ....
}

Also available in: Atom PDF