final AddressDO address = rowModel.getObject();
final RepeatingView view = new RepeatingView(componentId);
item.add(view);
boolean first = true;
if (StringUtils.isNotBlank(address.getEmail()) == true) {
final ExternalLinkPanel mailToLinkPanel = new ExternalLinkPanel(view.newChildId(), "mailto:" + address.getEmail(), address
.getEmail());
mailToLinkPanel.getLink().add(AttributeModifier.replace("onclick", "javascript:suppressNextRowClick();"));
view.add(mailToLinkPanel);
first = false;
}
if (StringUtils.isNotBlank(address.getPrivateEmail()) == true) {
if (first == true) {
first = false;
} else {
view.add(new Label(view.newChildId(), "<br/>").setEscapeModelStrings(false));
}
view.add(new ExternalLinkPanel(view.newChildId(), "mailto:" + address.getPrivateEmail(), address.getPrivateEmail()));
}
cellItemListener.populateItem(item, componentId, rowModel);
}
});
columns.add(new CellItemListenerPropertyColumn<AddressDO>(new Model<String>(getString("address.phoneNumbers")), null, null,