if (roleId == null) {
roleId = RequestUtils.getRoleId(request);
}
Role role = (Role) request.getAttribute(Constants.ROLE_ATTR);
if (role == null) {
RequestUtils.setError(request, Constants.ERR_ROLE_NOT_FOUND);
return null;
}
addForm.setR(role.getId());
PageControl pca = WebUtility.getPageControl(request, "a");
PageControl pcp = WebUtility.getPageControl(request, "p");
log.trace("available page control: " + pca);