Search in sources :

Example 1 with FeedbackMessages

use of org.apache.wicket.feedback.FeedbackMessages in project midpoint by Evolveum.

the class PageBase method onBeforeRender.

@Override
protected void onBeforeRender() {
    super.onBeforeRender();
    FeedbackMessages messages = getSession().getFeedbackMessages();
    for (FeedbackMessage message : messages) {
        getFeedbackMessages().add(message);
    }
    getSession().getFeedbackMessages().clear();
}
Also used : FeedbackMessage(org.apache.wicket.feedback.FeedbackMessage) FeedbackMessages(org.apache.wicket.feedback.FeedbackMessages)

Aggregations

FeedbackMessage (org.apache.wicket.feedback.FeedbackMessage)1 FeedbackMessages (org.apache.wicket.feedback.FeedbackMessages)1