222223224225226227228229230231232
return null; } public Object getData(Object obj) { if (obj instanceof User) { return new HtmlSnippet("<a href=\"user/loginAsUser.do?selected=" + ((ZeroUser) obj).getId() + "\">Login</a>"); } return ""; } }); model.addColumn(loginColumn);