Session.get().getFeedbackMessages().clear();

François


On Tue, Mar 4, 2014 at 10:07 AM, Patrick Davids <
patrick.dav...@nubologic.com> wrote:

> Hi all,
> I would like to have a FeedbackPanel always showing only one error message.
>
> As seen in FeedbackPanel code setMaxMessages() does this.
> But it seems it does not clear the rest of messages after doing its job.
>
> When I have put 3 error messages on a page, only the first one is shown.
> This is what I want, but reloading the page, all other messages are
> shown in sequence as long as I reload the page and until all are processed.
>
> Is setMaxMessage() not the recommended way for what I want to do?
> How can I force a clear?
>
> thanx in advance :-)
> Patrick
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to