* @return
*/
public HeaderPanel getHeaderPanel(String id, PageParameters parameters) {
// the header panel expects the application to add buttons
if (Role.TEACHER.equals(CwmSession.get().getUser().getRole()))
return new TeacherHeaderPanel(id, parameters);
else
return new DefaultHeaderPanel(id, parameters);
}