private static final long serialVersionUID = 1L;
@Override
public void onClick()
{
final Contact deleted = getContact();
contactDao.delete(deleted.getId());
String msg = MapVariableInterpolator.interpolate(
getLocalizer().getString("status.deleted", this), new MicroMap<String, String>(
"name", deleted.getFullName()));
getSession().info(msg);
setResponsePage(backPage);
}
};
confirmLink.add(new AttributeModifier("value", new ResourceModel("confirm")));