// Differs from superclass version in that it creates a READ-ONLY page notes area with no edit buttons
// view the student's notes
protected void addNotesPanel () {
setPageNotesMetadata();
mNotesPrompt = responseService.getOrCreatePrompt(PromptType.PAGE_NOTES, loc);
StateSavingCollapseBoxBorder noteBox = new StateSavingCollapseBoxBorder("noteBox", "noteToggle", null, getPageName());
add(noteBox);
noteBox.setVisible(showXmlContent);
ResponseList responseList = new ResponseList ("responseList", mNotesPrompt, pageNotesMetadata, loc, mTargetUser);
responseList.setContext("pagenote.teacher");
responseList.setAllowNotebook(false);
responseList.setAllowEdit(false);
responseList.setAllowWhiteboard(ISIApplication.get().isWhiteboardOn());
noteBox.add(responseList);
WebMarkupContainer responseButtons = new WebMarkupContainer("responseButtons");
noteBox.add(responseButtons);
responseButtons.setVisible(false);
noteBox.setVisible(ISIApplication.get().isPageNotesOn());
}