User user = (User) session.getAttribute(IConst.SESSION.USER_KEY);
records.setBlockSize((null != user) ? user.getSettings()
.getMes_per_page() : 25);
if (session.getAttribute(IConst.SESSION.SEARCH_CRITERIA_LOG) == null) {
session.setAttribute(IConst.SESSION.SEARCH_CRITERIA_LOG,
new LogSearchCriteria());
}
LogSearchCriteria criteria = (LogSearchCriteria) session
.getAttribute(IConst.SESSION.SEARCH_CRITERIA_LOG);
int block = Integer.parseInt(lForm.getBlock());
dao.fillLogEntryList(criteria, records, block);
request.setAttribute(IConst.REQUEST.RECORDS_DATA, records);
ArrayIterator it = new ArrayIterator();