if (rowCounter++ % 2 == 0) {
row.add(AttributeModifier.replace("class", "even"));
} else {
row.add(AttributeModifier.replace("class", "odd"));
}
final Kost2Row kost2Row = rowEntry.getValue();
final Kost2DO cost2 = kost2Row.getKost2();
addLabelCols(row, cost2, null, "kost2.nummer:" + cost2.getFormattedNumber(), report.getUser(), report.getFromDate().getTime(), report
.getToDate().getTime());
final RepeatingView colWeekRepeater = new RepeatingView("colWeekRepeater");
row.add(colWeekRepeater);
for (final MonthlyEmployeeReportWeek week : report.getWeeks()) {
final MonthlyEmployeeReportEntry entry = week.getKost2Entries().get(kost2Row.getKost2().getId());
colWeekRepeater.add(new Label(colWeekRepeater.newChildId(), entry != null ? entry.getFormattedDuration() : ""));
}
row.add(new Label("sum", report.getKost2Durations().get(cost2.getId()).getFormattedDuration()));
}