}
else if (result instanceof DomainGroupModelView)
{
final DomainGroupModelView group = (DomainGroupModelView) result;
itemPanel.add(new AvatarLinkPanel(EntityType.GROUP, group.getShortName(), group
.getAvatarId(), Size.Small, false));
name.setText(group.getName());
name.setTitle(group.getName());
historyToken = Session.getInstance().generateUrl(
new CreateUrlRequest(Page.GROUPS, group.getShortName()));