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

    Constructors
    Constructor
    Description
    ScopedFeedBackMessageFilter(org.apache.wicket.MarkupContainer container)
    Constructor with default scope of ValidationScope.DOCUMENT
    ScopedFeedBackMessageFilter(org.apache.wicket.MarkupContainer container, FeedbackScope scope)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Constructor Details

    • ScopedFeedBackMessageFilter

      public ScopedFeedBackMessageFilter(org.apache.wicket.MarkupContainer container)
      Constructor with default scope of ValidationScope.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 of
      scope - The scope to filter feedback messages by.
  • Method Details

    • accept

      public boolean accept(org.apache.wicket.feedback.FeedbackMessage message)
      Specified by:
      accept in interface org.apache.wicket.feedback.IFeedbackMessageFilter
      Overrides:
      accept in class org.apache.wicket.feedback.ContainerFeedbackMessageFilter