private static final long serialVersionUID = 1L;
@Override
protected SlicingDataSet<Invitation> getDataSet(Serializable filter) {
Contract contract = (Contract) getDefaultModelObject();
return contract == null ? new EmptyDataSet(Invitation.class) : userInvitationReader.getInvitations(contract);
}
};
invitationsTable = new DefaultDataTable<Invitation, String>(CKEY_INVITEES, columns, dataProvider, wicketConfiguration.getItemsPerPage());
invitationsTable.setOutputMarkupId(true);
add(invitationsTable);