@Override
protected void onBeforeRender() {
ResponseFeedbackButtonPanelVisitor responseVisitor = new ResponseFeedbackButtonPanelVisitor();
getParent().visitChildren(ResponseFeedbackButtonPanel.class, responseVisitor);
if (responseVisitor.state == null) {
addOrReplace(new EmptyPanel("feedbackStatusIcon").setVisible(false));
} else if (responseVisitor.state.equals("old")) {
addOrReplace(new Icon("feedbackStatusIcon", "img/icons/envelope_large_old.png",
new ResourceModel("feedback.indicatorText.previousFeedback.alt").getObject(),
new ResourceModel("feedback.indicatorText.previousFeedback.title").getObject()));
} else {