thx, thats perfect.
I am still not used to private subclassing :(

Hauke Ingmar Schmidt schrieb:
Hej,

I know how to add a Feedbackpanel and how to filter it by specific forms
a.s.o.
But I want three feedbackpanels. One for "warn", one for "error" and one
for "info".

I didn't find a implementation of IFeedbackMessageFilter which does that.
(Or I don't know how it could do that)

Is there a way to do that?

You need to set an IFeedbackMessageFilter on the Feedback panel, e.g.:

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

Bye
Hauke Ingmar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to