Package org.hippoecm.frontend.validation
Class ScopedFeedBackMessageFilter
java.lang.Object
org.apache.wicket.feedback.ContainerFeedbackMessageFilter
org.hippoecm.frontend.validation.ScopedFeedBackMessageFilter
- All Implemented Interfaces:
Serializable
,Predicate<org.apache.wicket.feedback.FeedbackMessage>
,org.apache.wicket.feedback.IFeedbackMessageFilter
,org.apache.wicket.util.io.IClusterable
public class ScopedFeedBackMessageFilter
extends org.apache.wicket.feedback.ContainerFeedbackMessageFilter
A ContainerFeedbackMessageFilter filter that is scope aware.
- See Also:
-
Field Summary
Fields inherited from interface org.apache.wicket.feedback.IFeedbackMessageFilter
ALL, NONE
-
Constructor Summary
ConstructorDescriptionScopedFeedBackMessageFilter
(org.apache.wicket.MarkupContainer container) Constructor with default scope ofValidationScope.DOCUMENT
ScopedFeedBackMessageFilter
(org.apache.wicket.MarkupContainer container, FeedbackScope scope) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(org.apache.wicket.feedback.FeedbackMessage message) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.feedback.IFeedbackMessageFilter
test
-
Constructor Details
-
ScopedFeedBackMessageFilter
public ScopedFeedBackMessageFilter(org.apache.wicket.MarkupContainer container) Constructor with default scope ofValidationScope.DOCUMENT
- Parameters:
container
- The container that message reporters must be a child of
-
ScopedFeedBackMessageFilter
public ScopedFeedBackMessageFilter(org.apache.wicket.MarkupContainer container, FeedbackScope scope) Constructor- Parameters:
container
- The container that message reporters must be a child ofscope
- The scope to filter feedback messages by.
-
-
Method Details
-
accept
public boolean accept(org.apache.wicket.feedback.FeedbackMessage message) - Specified by:
accept
in interfaceorg.apache.wicket.feedback.IFeedbackMessageFilter
- Overrides:
accept
in classorg.apache.wicket.feedback.ContainerFeedbackMessageFilter
-