use of com.evolveum.midpoint.web.page.admin.server.RefreshableTabPanel in project midpoint by Evolveum.
the class PageAdminObjectDetails method refresh.
public void refresh(AjaxRequestTarget target, boolean soft) {
if (!isAdd()) {
getObjectModel().reset();
}
target.add(getSummaryPanel());
target.add(getOperationalButtonsPanel());
target.add(getFeedbackPanel());
refreshTitle(target);
if (soft) {
for (Component component : getMainPanel().getTabbedPanel()) {
if (component instanceof RefreshableTabPanel) {
for (Component c : ((RefreshableTabPanel) component).getComponentsToUpdate()) {
target.add(c);
}
}
}
} else {
target.add(getMainPanel().getTabbedPanel());
}
}
Aggregations