String projectCode = parameterMap.get(Keys.PARAMETER_PROJECT_CODE);
if (StringUtils.hasText(projectCode)) {
//
ProjectService projectService = applicationContext.getBean(ProjectService.class);
ProjectCategoryService projectCategoryService = applicationContext.getBean(ProjectCategoryService.class);
ProjectFeatureService projectFeatureService = applicationContext.getBean(ProjectFeatureService.class);
//
Project project = projectService.getProject(projectCode);
ProjectCategory projectCategory = projectCategoryService.getCategory(project.getCategoryId());
//
request.setAttribute(Keys.REQUEST_PROJECT, project);
request.setAttribute(Keys.REQUEST_PROJECT_CATEGORY, projectCategory);
//
List<ProjectFeature> projectFeatures = projectFeatureService.getProjectFeatures(project.getId());
for (ProjectFeature projectFeature : projectFeatures) {
if (lookupPath.contains(projectFeature.getCode())) {
request.setAttribute(Keys.REQUEST_PROJECT_FEATURE, projectFeature);
break;
}