[FLOW3-general] FLOW3 1.0 and Flash Message Container

Ivan Ruiz Gallego ivan at loglan.net
Wed Nov 9 10:11:29 CET 2011


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