use of com.evolveum.midpoint.web.page.admin.configuration.component.DebugSearchFragment in project midpoint by Evolveum.
the class PageDebugList method create.
private void create(RepositoryObjectDataProvider provider) {
Form mainForm = (Form) get(ID_MAIN_FORM);
BoxedTablePanel<DebugObjectItem> table = new BoxedTablePanel<>(ID_TABLE, provider, createColumns(), UserProfileStorage.TableId.CONF_DEBUG_LIST_PANEL) {
private static final long serialVersionUID = 1L;
@Override
protected WebMarkupContainer createHeader(String headerId) {
DebugSearchFragment headerFragment = new DebugSearchFragment(headerId, ID_TABLE_HEADER, PageDebugList.this, searchModel, showAllItemsModel) {
private static final long serialVersionUID = 1L;
@Override
protected void searchPerformed(AjaxRequestTarget target) {
listObjectsPerformed(target);
}
};
headerFragment.setOutputMarkupId(true);
return headerFragment;
}
};
table.setOutputMarkupId(true);
ConfigurationStorage storage = getSessionStorage().getConfiguration();
table.setCurrentPage(storage.getPaging());
mainForm.addOrReplace(table);
}
use of com.evolveum.midpoint.web.page.admin.configuration.component.DebugSearchFragment in project midpoint by Evolveum.
the class PageDebugList method hasToZip.
private boolean hasToZip() {
BoxedTablePanel table = (BoxedTablePanel) getListTable();
DebugSearchFragment header = (DebugSearchFragment) table.getHeader();
AjaxCheckBox zipCheck = header.getZipCheck();
return zipCheck.getModelObject();
}
Aggregations