Пример #1
0
  private void refreshTable(AjaxRequestTarget target) {
    Table panel = getReportOutputTable();

    ReportsStorage storage = getSessionStorage().getReports();
    storage.setReportOutputSearch(searchModel.getObject());
    storage.setReportOutputsPaging(null);
    panel.setCurrentPage(0);

    target.add((Component) panel);
    target.add(getFeedbackPanel());
  }
Пример #2
0
 private ObjectDataProvider getTableDataProvider() {
   Table tablePanel = getReportOutputTable();
   DataTable table = tablePanel.getDataTable();
   return (ObjectDataProvider) table.getDataProvider();
 }