String titleRule = "";
List<String> confControl = new ArrayList<String>();
confControl.add("docEdit");
confControl.add("valoriControllati");
try {
UserBean userBean = (UserBean) modelMap.get("userBean");
confBean = (ConfBean) modelMap.get("confBean");
WorkFlowBean workFlowBean = (WorkFlowBean) modelMap.get("workFlowBean");
xwconn = connectionManager.getConnection(workFlowBean.getArchive());
XMLBuilder builderDoc = null;
if (physDoc == null || physDoc.equals("") || physDoc.equals("-1")) {
builderDoc = new XMLBuilder("root");
} else {
builderDoc = new XMLBuilder(xwconn.getSingleXMLFromNumDoc(Integer.parseInt(physDoc)), "ISO-8859-1");
}
MultiEditingManager editingManager = new MultiEditingManager(parameterMap, confBean, userBean, workFlowBean);
editingManager.setTheXML(builderDoc);
confBean = editingManager.rewriteMultipleConf(confControl);
int newNrecord = 0;
int relation = 0;
int firstRecord = -1;
if (!(MyRequest.getParameter("relation", parameterMap)).equals("")) {
relation = Integer.parseInt(MyRequest.getParameter("relation", parameterMap));
}
// String theArch = myRequest.getParameter("db");
String pne = workFlowBean.getArchive().getPne();
String dataCompilatoreCMPN = DateUtil.getDataSystem("dd/MM/yyyy");
String nomeCompilatoreCMPN = userBean.getName() + " " + userBean.getLastName();
int relatedPhysDoc = 0;
int elementiMultipli = 0;
if (MyRequest.getParameter("elementiMultipli", parameterMap).equals("")) {