addTab(TABALIAS_USER_CREDITS, new AbstractTab(new ResourceModel(MKEY_USER_CREDITS)) {
private static final long serialVersionUID = 1L;
@Override
public WebMarkupContainer getPanel(String containerId) {
return new CreditorsPanel(containerId, new Model<Contract>(contract));
}
});
}