add(new QuickFlipForm("quickFlipForm", true));
// Loads the Class Message for this period
WebMarkupContainer classMessageBox = new WebMarkupContainer("classMessageBox");
add(classMessageBox);
ClassMessage m = responseService.getClassMessage(ISISession.get().getCurrentPeriodModel());
if (m == null) {
classMessageBox.add(new Label("classMessage", new ResourceModel("classMessage")));
} else {
classMessageBox.add(new Label("classMessage", m.getMessage()));
}
classMessageBox.setVisible(ISIApplication.get().isClassMessageOn());
// Loads a list of locations that have Unread Messages and Regular Messages
locsWithUnread = responseService.getPagesWithNotes(ISISession.get().getUser(), true);