Prevent messages from being displayed in FeedbackPanel if displayed in ComponentFeedbackPanel

2010-03-28 Thread David Chang
I have a page which has a FeedbackPanel for collecting and displaying messages.

On this page there is also a form. I use ComponentFeedbackPanel to display any 
validation error messages for fields.

When a validation error happens, it ends up being displayed in both 
FeedbackPanel and ComponentFeedbackPanel. 

I wish to control the message diplay like this:

If a message is displayed in ComponentFeedbackPanel, it will not be displayed 
again in FeedbackPanel.

Is this doable? Any ideas of how do this?

Regards.



  

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



Re: Prevent messages from being displayed in FeedbackPanel if displayed in ComponentFeedbackPanel

2010-03-28 Thread Jeremy Thomerson
You could use a custom IFeedbackMessageFilter

--
Jeremy Thomerson
http://www.wickettraining.com



On Sun, Mar 28, 2010 at 9:42 PM, David Chang david_q_zh...@yahoo.comwrote:

 I have a page which has a FeedbackPanel for collecting and displaying
 messages.

 On this page there is also a form. I use ComponentFeedbackPanel to display
 any validation error messages for fields.

 When a validation error happens, it ends up being displayed in both
 FeedbackPanel and ComponentFeedbackPanel.

 I wish to control the message diplay like this:

 If a message is displayed in ComponentFeedbackPanel, it will not be
 displayed again in FeedbackPanel.

 Is this doable? Any ideas of how do this?

 Regards.





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