private void addFeedbackGui() {
final FeedbackPanel feedback = addOrReplaceFeedback();
final ObjectAdapter adapter = getEntityModel().getObject();
if (adapter == null) {
feedback.error("cannot locate object:" + getEntityModel().getObjectAdapterMemento().toString());
}
}
private FeedbackPanel addOrReplaceFeedback() {
feedback = new ComponentFeedbackPanel(ID_FEEDBACK, this);