Class 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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • 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