try {
UserBean userBean = (UserBean) modelMap.get("userBean");
confBean = (ConfBean) modelMap.get("confBean");
WorkFlowBean workFlowBean = (WorkFlowBean) modelMap.get("workFlowBean");
treeBean = new TreeBean();
MultiEditingManager editingManager = new MultiEditingManager(parameterMap, confBean, userBean, workFlowBean);
editingManager.setTheXML(new XMLBuilder("root"));
confBean = editingManager.rewriteMultipleConf(confControl);
xwconn = connectionManager.getConnection(workFlowBean.getArchive());
if (MyRequest.getParameter("docStart", parameterMap) != null && !MyRequest.getParameter("docStart", parameterMap).equals("")) {
treeBean.setDocStart(Integer.parseInt(MyRequest.getParameter("docStart", parameterMap)));
String docXML = xwconn.getSingleXMLFromNumDoc(treeBean.getDocStart());
editingManager.setTheXML(new XMLBuilder(docXML, "ISO-8859-1"));
confBean = editingManager.rewriteMultipleConf(confControl);
} else {
confBean = editingManager.rewriteMultipleConf(confControl);
}
if (modelMap.get("pageName") != null && modelMap.get("pageName").equals("tree")) {
System.out.println("HierBrowserPageCommand.execute()");
XMLBuilder builder = confBean.getTheXMLConfTitle();
titleRole = builder.valoreNodo("/root/titleManager/sezione[@name='hierBrowser']/titleRole/text()", false);