@Override
public void populateItem(Item<ICellPopulator<Resource>> cellItem,
String componentId, IModel<Resource> rowModel) {
Resource resource = rowModel.getObject();
Contract contract = resource.getContract();
cellItem.add(new PageLinkPanel(componentId, EditContract.class,
new Model<String>(contract.getTitle()),
new PageParameters().add(EditContract.PARAM_CONTRACT_ID, contract.getId())));
}
});
return columns;