@RequestMapping(value = "/{tag}/items/new")
public String itemNew(@PathVariable String tag,Model model) {
Project project = projectBO.getProjectByTag(tag);
model.addAttribute("project", project);
model.addAttribute("view", "new");
model.addAttribute("item", new HashMap<String,Object>());
//所有的字段名
model.addAttribute("customFieldList", fieldsBO.customFieldList(project.getId()));
model.addAttribute("layout", fieldsBO.getLayout(project.getId()));
Main main = getMain(model);
projectBO.setMainMenu(main, tag);
main.setAction("/project/"+tag+"/items/new");
return "/project/items_new";