private static final long serialVersionUID = 1L;
@Override
public void populateItem(Item<ICellPopulator<Contract>> cellItem,
String componentId, IModel<Contract> rowModel) {
Contract contract = rowModel.getObject();
ContractStatus contractStatus = contractStatusInformant.getContractStatus(contract,
authorizedUserService.getCurrentUserId());
if(contractStatus != null) {
cellItem.add(new Label(componentId, new ResourceModel(MKEY_STATE_PREFIX + contractStatus.name())));
} else {
cellItem.add(new Label(componentId, "???"));
}
}