[FLOW3-general] FLOW3 1.0 and Flash Message Container
"Christian Müller (Kitsunet)"
christian.mueller at typo3.org
Wed Nov 9 11:01:58 CET 2011
I will take care of that. Good point.
On 09/11/11 10:58, Bernhard Fischer wrote:
> Hi Ivan,
>
> someone should finally write an FAQ for that topic or mention it in the
> Upgrade.txt. Everybody, upgrading from beta2, traps into that pitfall.
>
> Bernhard ;-)
>
> On 11/09/2011 10:48 AM, Ivan Ruiz Gallego wrote:
>> Yes, that's it!
>> Thanks again, Bernhard.
>>
>> On 09.11.2011 10:30, Bernhard Fischer wrote:
>>> Hi Ivan,
>>>
>>> with 1.0 you shouldn't deal with FlashMessageContainers directly any
>>> longer. Use addFlashMessage() instead (with different severity types if
>>> you like).
>>>
>>> On 11/09/2011 10:11 AM, Ivan Ruiz Gallego wrote:
>>>> Hi,
>>>>
>>>> After upgrading to 1.0 I've noticed that the FlashMessageContainer no
>>>> longer support the method 'add'. Instead of this, it seems that
>>>> 'addMessage' should be used. According to the API addMessage expects an
>>>> Error Object (Message, Notice, Warning). But, in fact, I'm using the
>>>> flash messages to tell the user other information than errors, e.g.
>>>> when
>>>> storing a new entry in the db was successfully completed. In such cases
>>>> using the Error object is appropriate doesn't seem appropriate to me.
>>>>
>>>> What do you think about that?
>>>>
>>>> Regards,
>>>> Ivan.
More information about the FLOW3-general
mailing list