if (domainContext.getProjectId() == 0 && StringUtils.isNotEmpty(projectIdParam) && !projectIdParam.equals("0")) {
ObjectRepository objectRepository = getRepository(Project.class);
Project project = (Project)objectRepository.load(Integer.parseInt((request.getParameter("projectId"))));
domainContext.populate(project);
}
domainContext.save(request);
return domainContext;
}
public void setMetaRepository(MetaRepository metaRepository) {
this.metaRepository = metaRepository;