@RequestMapping(value = "/custom/{archive}/page")
public String customPage(@ModelAttribute("userBean") UserBean userBean, @ModelAttribute("confBean") ConfBean confBean, @ModelAttribute CustomPageBean customPageBean, @PathVariable String archive, ModelMap modelMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
common(confBean, userBean, archive, modelMap, request, response);
XWConnection xwconn = null;
ConnectionManager connectionManager = new ConnectionManager();
WorkFlowBean workFlowBean = (WorkFlowBean) modelMap.get("workFlowBean");
List<String> confControl = customPageBean.getConfControl();
try {
MultiEditingManager editingManager = new MultiEditingManager(request.getParameterMap(), confBean, userBean, workFlowBean);
if (customPageBean.getPhysDoc() != null && !customPageBean.getPhysDoc().equals("")) {
xwconn = connectionManager.getConnection(workFlowBean.getArchive());
customPageBean.setXmlBuilder(new XMLBuilder(XMLCleaner.clearXwXML(xwconn.getSingleXMLFromNumDoc(Integer.parseInt(customPageBean.getPhysDoc())), true), "ISO-8859-1"));
editingManager.setTheXML(customPageBean.getXmlBuilder());
} else {
editingManager.setTheXML(new XMLBuilder("root"));
}