Any idea on how best to add a message for the flash messenger from the model?
Since FlashMessenger is an action helper, this seems impossible, so the obvious solution is to create an internal message object in the model and return it to the controller, from where you can use addMessage (). But if you want to return something else, it will fall.
Another idea is an extra namespace for these internal messages, which is then merged with the Flash Messenger namespace messages in the output?
Anyone have any thoughts or experiences? Greetings.
source share