String[] filters = metaData.getParameterValues("filter");
final DataSearchFilter filter = new DataSearchFilter(search, filters);
if (criteriaBuilder != null) {
filter.addCriteriaBuilder(criteriaBuilder);
}
CriteriaSorter sorter = new CriteriaSorter(orderBy, asc);
IDataProvider<Void> provider = new HibernateProvider<Void>(beanClass, filter, sorter);
panel = new BeanTablePanel("beanTable", provider, sorter, metaData, true, rows);
panel.setOutputMarkupId(true);
Form<Void> form = new Form<Void>("form");