public void populateItem(final Item<ICellPopulator<T>> item, final String componentId, final IModel<T> rowModel) {
try {
final PropertyDescriptor propDesc =
BeanUtils.getPropertyDescriptor(rowModel.getObject().getClass(), idFieldName);
final Object id = propDesc.getReadMethod().invoke(rowModel.getObject(), new Object[0]);
final Status status = id == null ? null : results.getResultMap().get(id.toString());
item.add(new Label(componentId, status == null ? Status.SUCCESS : status.toString()));
} catch (Exception e) {
LOG.error("Errore retrieving target id value", e);
}
}