@PrefParam String categoryCode, @PrefParam String templateCode,
@ModelAttribute @Valid RegisterBean registerBean, BindingResult result,
@RequestAttr Site site, Model model, WebRequest request) {
ProjectCategory category = categoryService.getProjectCategory(site, categoryCode);
//
Template template = templateService.getTemplate(category.getId(), templateCode);
List<ProjectFeature> modules = ModuleUtil.parseToModules(template.getContent());
Project project = new Project();
// set project category
project.setCategory(category);
// set features
project.setFeatures(modules);