Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

If you want to have more than one FeedbackPanel on a page, but don't want to show errors messages in both at the same time use the following to filter the messages.

Code Block
FeedbackPanel feedbackPanel = new FeedbackPanel("feedback");
feedbackPanel.setFilter(new ContainerFeedbackMessageFilter(YourForm.this));
add(feedbackPanel);

Now only error messages reported by (direct or indirect) children of YourForm.this will be shown in the FeedbackPanel.