super(modelContext, viewContext);
}
protected void populateItem(final ListItem item) {
try {
Neighbor neighbor = (Neighbor) item.getModelObject();
String neighborName = neighbor.getCode();
Label neighborNameLabel = new Label("neighborName", neighborName);
item.add(neighborNameLabel);
} catch (Exception e) {
log.error("Error in NeighborList: " + e.getMessage());
}