addRowClick(item);
}
}.withUserFormatter(userFormatter));
}
}
final SystemInfoCache systemInfoCache = SystemInfoCache.instance();
if (systemInfoCache.isCost2EntriesExists() == true) {
columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(new Model<String>(page.getString("fibu.kunde")), getSortable(
"kost2.projekt.kunde.name", sortable), "kost2.projekt.kunde.name", cellItemListener));
columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(new Model<String>(page.getString("fibu.projekt")), getSortable(
"kost2.projekt.name", sortable), "kost2.projekt.name", cellItemListener));
}
columns.add(new TaskPropertyColumn<TimesheetDO>(page.getString("task"), getSortable("task.title", sortable), "task", cellItemListener)
.withTaskTree(taskTree));
if (systemInfoCache.isCost2EntriesExists() == true) {
columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(page.getString("fibu.kost2"), getSortable("kost2.shortDisplayName",
sortable), "kost2.shortDisplayName", cellItemListener));
}
columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(page.getString("calendar.weekOfYearShortLabel"), getSortable(
"formattedWeekOfYear", sortable), "formattedWeekOfYear", cellItemListener));