Re: Wicket-5353: Wrap feedback messages in a model instead of using Serializable objects

2013-09-17 Thread Jeremy Thomerson
Here's my comment (copied from my comment on the PR). Note that I whipped up the gist quickly, so it may not compile, but it shows the intent. I don't think we need this PR. It could easily be accomplished by overriding newMessageDisplayComponent or by the following change:

Re: Wicket-5353: Wrap feedback messages in a model instead of using Serializable objects

2013-09-17 Thread Michael Haitz
Hi, why do you need a special API using IModel instead of Serializable? wicket-bootstrap uses also models but with existing API, isn't this enough? check NotificationPanel, NotificationAlert and NotificationMessage: