columns.add(new LinkPropertyColumn(new Model("Name"), "name", "name"));
columns.add(new PropertyColumn(new Model("Description"), "shortDesc",
"shortDesc"));
if (projects == null) {
dataProvider = new SortableProjectDataProvider();
} else {
dataProvider = new SortableProjectDataProvider(projects);
}
dataProvider.setSort("name", true);
projectTable = new AjaxFallbackDefaultDataTable("dataTable", columns, dataProvider, numberOfProjects);
add(projectTable);
}