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");
add(form);
form.add(panel);
}