Hi Martin,
this works... thanx for your feedback.
kind regards
Patrick
Am 05.03.2014 10:22, schrieb Martin Grigorov:
> Hi,
>
> I don't know what is the idea behind #setMaxMessages(). I hoped someone
> else would explain ...
> To clear the messages you set to mark them as rendered:
>
> fc = new Fe
Hi,
I don't know what is the idea behind #setMaxMessages(). I hoped someone
else would explain ...
To clear the messages you set to mark them as rendered:
fc = new FeedbackCollector(page);
fc.collect().foreach(fm -> fm.markRendered()) // Java 8 syntax
You can put this code in some #onDetach() m
Hi François,
unfortunately this does not have any affect.
Still have all messages in sequence on reloading.
kind regards
Patrick
Am 04.03.2014 17:03, schrieb francois meillet:
> Session.get().getFeedbackMessages().clear();
>
> François
>
>
> On Tue, Mar 4, 2014 at 10:07 AM, Patrick Davids <
> pa
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.
> Bu
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 w