// PageList<Subject> users = roleManager.findSubjectsByRole(roleId, pcu);
PageList<Subject> users = roleManager.findSubjectsByRole(roleId, pcu);
request.setAttribute(Constants.ROLE_USERS_ATTR, users);
// get the groups attached to the role
log.trace("getting resource groups for role [" + roleId + "]");
PageList<ResourceGroup> groups = groupManager.findResourceGroupsForRole(whoami, roleId, pcg);
request.setAttribute(Constants.ROLE_RESGRPS_ATTR, groups);
if (groups == null) {
request.setAttribute(Constants.NUM_RESGRPS_ATTR, new Integer(0));
} else {