else
{
int rowNum = 1;
for( Iterator i = locks.iterator(); i.hasNext(); )
{
PageLock lock = (PageLock) i.next();
result.append( rowNum % 2 != 0 ? "<tr class=\"odd\">" : "<tr>" );
result.append("<td>"+lock.getPage()+"</td>");
result.append("<td>"+lock.getLocker()+"</td>");
result.append( "<td>"
+ Preferences.renderDate( context, lock.getAcquisitionTime(), Preferences.TimeFormat.DATETIME )
+ "</td>" );
result.append( "<td>" + Preferences.renderDate( context, lock.getExpiryTime(), Preferences.TimeFormat.DATETIME )
+ "</td>" );
result.append("</tr>\n");
rowNum++;
}
}