|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.profile2.tool.components.ErrorLevelsFeedbackMessageFilter
public class ErrorLevelsFeedbackMessageFilter
Filter for accepting only feedback messages with this error level. You can use this code under Apache 2.0 license, as long as you retain the copyright messages. Tested with Wicket 1.3.4
| Field Summary |
|---|
| Fields inherited from interface org.apache.wicket.feedback.IFeedbackMessageFilter |
|---|
ALL |
| Constructor Summary | |
|---|---|
ErrorLevelsFeedbackMessageFilter(int[] filteredErrorLevels)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
accept(org.apache.wicket.feedback.FeedbackMessage message)
Method accept, only accept FeedbackMessages that are not in the list of error levels to filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorLevelsFeedbackMessageFilter(int[] filteredErrorLevels)
filteredErrorLevels - The FeedbackMessages that have thes error levels will
not be shown.| Method Detail |
|---|
public boolean accept(org.apache.wicket.feedback.FeedbackMessage message)
accept in interface org.apache.wicket.feedback.IFeedbackMessageFiltermessage - of type FeedbackMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||