Reputation: 1991
I would like to maintain the error messages, which are generated at the page load up, even when the user refreshes the page. I can let them stay by saving them globally and then reenter them in the FeedBackPanel
inside of page's renderHead
method, but when I get back to the previous page for example, the error is still there, until I refresh the page.
Upvotes: 2
Views: 193
Reputation: 5681
You can register a IFeedbackMessageFilter with IApplicationSettiongs#setFeedbackMessageCleanupFilter() - this way you can control which messages will be cleaned up after each request.
Upvotes: 2