[ 
https://issues.apache.org/jira/browse/WICKET-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764727#action_12764727
 ] 

Bernhard Grünewaldt commented on WICKET-2517:
---------------------------------------------

Ok, I got a solution from the mailinglist.
Just for ducumentation, you can do:

FeedbackPanel fbp = new FeedbackPanel("feedback", 
     new IFeedbackMessageFilter() {
                        public boolean accept(FeedbackMessage message) {
                                return 
message.getLevel()==FeedbackMessage.ERROR;
                        }
});

> adding class ExactErrorLevelFeedbackMessageFilter which displays exact one 
> Error Level
> --------------------------------------------------------------------------------------
>
>                 Key: WICKET-2517
>                 URL: https://issues.apache.org/jira/browse/WICKET-2517
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 1.4.2
>            Reporter: Bernhard Grünewaldt
>            Assignee: Igor Vaynberg
>             Fix For: 1.4.2
>
>         Attachments: ExactErrorLevelFeedbackMessageFilter.java
>
>
> The org.apache.wicket.feedback.ErrorLevelFeedbackMessageFilter
> Allows to filter ErrorLevels UP TO a certain level.
> I want to filter for exact ONE Level. 
> For example a FeedbackPanel that just displays Errors (Level = Error).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to