public LinksCollectionViewPanel(String id, IModel<ODocument> documentModel, OProperty property) {
super(id, new DynamicPropertyValueModel<M>(documentModel, new OPropertyModel(property)));
ISortableDataProvider<ODocument, String> provider = oClassIntrospector.prepareDataProviderForProperty(property, documentModel);
List<IColumn<ODocument, String>> columns = new ArrayList<IColumn<ODocument,String>>();
columns.add(new OEntityColumn(property.getLinkedClass(), DisplayMode.VIEW.asModel()));
GenericTablePanel<ODocument> tablePanel = new GenericTablePanel<ODocument>("tablePanel", columns, provider, 10);
OrienteerDataTable<ODocument, String> table = tablePanel.getDataTable();
table.getHeadersToolbar().setVisibilityAllowed(false);
table.getNoRecordsToolbar().setVisibilityAllowed(false);
add(tablePanel);
}