ArrayList arrayList = managingBean.getListPhysDoc();
for (int i = arrayList.size() - 1; i >= 0; i--) {
// for (int i = 0; i < arrayList.size(); i++) {
try {
int physDocToCut = Integer.parseInt((String) arrayList.get(i));
xwconn.cut_paste(physDocToCut, Integer.parseInt(physDoc), it.highwaytech.broker.ServerCommand.navigarel_MAGGIOREMINORE);
managingBean.setDocSuccessi(managingBean.getDocSuccessi() + 1);
} catch (Exception e) {
managingBean.addErrorMsg("Errore in Sposta per il documento " + arrayList.get(i) + " " + e.getMessage());
managingBean.setDocErrori(managingBean.getDocErrori() + 1);
}