[FLOW3-general] FLOW3 1.0 and Flash Message Container

Ivan Ruiz Gallego ivan at loglan.net
Wed Nov 9 10:48:35 CET 2011


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