protected IModel<Department> getListItemModel(
IModel< ? extends List<Department>> listViewModel, int index)
{
// by using a securemodel we are preventing the secure
// departments from showing up.
return new DepartmentModel(super.getListItemModel(listViewModel, index));
// return new
// CompoundPropertyModel(super.getListItemModel(listViewModel,
// index));
}
});