// 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());
 }
  @SuppressWarnings("static-access")
  @Override
  protected void addQuestionsPanel() {
    StateSavingCollapseBoxBorder questionBox =
        new StateSavingCollapseBoxBorder("questionBox", "questionToggle", null, getPageName());
    add(questionBox);
    questionBox.setVisible(ISIApplication.get().isMyQuestionsOn() && (showXmlContent));
    questionContainer = new WebMarkupContainer("questionContainer");
    questionContainer.setOutputMarkupId(true);
    questionBox.add(questionContainer);
    PopupSettings questionPopupSettings = ISIApplication.get().questionPopupSettings;
    questionList =
        new QuestionListView(
            "question",
            QuestionPopup.class,
            questionPopupSettings,
            null,
            (ISISession.get().getTargetUserModel().getObject().getId()));
    questionContainer.add(questionList);
    questionContainer.add(new WebMarkupContainer("qButtonVisible").setVisible(false));

    // teachers can't add new Qs
    add(new WebMarkupContainer("newQuestion").setVisible(false));
  }