*
* @param department
*/
public DepartmentPage(Department department)
{
add(new ButtonContainer("buttoncontainer", ButtonContainer.BUTTON_DEPARTMENTS));
SecureForm<Department> form =
new SecureForm<Department>("form", new CompoundPropertyModel<Department>(department));
// make sure we have organization rights
form.setSecurityCheck(new OrganizationCheck(form));
add(form);