hey guys, i just added basic support for flash messages. basically flash messages are messages that are persisted until they are displayed. kinda like flash in ror. there is an example usage in wicket-phonebook.

what i did was just add a list<string> into session and a FlashMessagesPanel that displays+clears them. but this feels a bit disconnected from our feedback message system.

what id like to hear are some opninions on how and if the two should be integrated.

we could for example get rid of Component.flash() i added and instead add a boolean param to info/error/blah methods to say whether or not that message should be stored in flash scope (keeping the originals that default to false of course). that would also let us give flash messages their error levels. does that sound like a good idea?

also should we integrate feedbackpanel to merge regular feedback messages with flash messages? or keep the two panels separate.

any feedback is welcome,
-Igor



Reply via email to