updateLastVisitTime((HashMap) session
.getAttribute(IConst.SESSION.LAST_INTIME), ptForm.getTid(),
dao.now());
RecordsData recordsData = new RecordsData();
Topic currThread = dao.getThreadInfo(tid);
dao.fillMessagesList(user, recordsData, ptForm);
Iterator it = recordsData.getRecords().iterator();
boolean attachEnabled = Configurator.getInstance().getBoolean(
IConst.CONFIG.ENABLE_FILE_UPLOAD);
if (it.hasNext()) {
Message mess = (Message) it.next();