admin.addMessage("Couldn't import '" + docName + "': "+e.getMessage());
}
}
sw.stop();
if ( error > 0 )
admin.addMessage(count+" Document(s) imported ("+error+" errors): "+sw.toString());
else
admin.setStatus(count+" Document(s) imported: "+sw.toString());
admin.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
}
return REFRESH_CHILDREN;