Examples of PeriodResponseList


Examples of org.cast.isi.panel.PeriodResponseList

    } else if (wicketId.startsWith("period_responseList_")) {
      ContentLoc loc = new ContentLoc(getModel().getObject());
      String responseGroupId = elt.getAttribute("rgid");
      ResponseMetadata metadata = getResponseMetadata(responseGroupId);
      IModel<Prompt> mPrompt = responseService.getOrCreatePrompt(PromptType.RESPONSEAREA, loc, responseGroupId, metadata.getCollection());
      PeriodResponseList dataView = new PeriodResponseList(wicketId, mPrompt, metadata, loc, ISISession.get().getCurrentPeriodModel());
      dataView.setContext(getResponseListContext(true));
      dataView.setAllowEdit(!isTeacher);
      dataView.setAllowNotebook(!inGlossary && !isTeacher && ISIApplication.get().isNotebookOn());
      dataView.setAllowWhiteboard(!inGlossary && ISIApplication.get().isWhiteboardOn());
      dataView.add(new AttributeRemover("rgid", "group"));
      return dataView;     
     
    } else if (wicketId.startsWith("responseButtons_")) {
      ContentLoc loc = new ContentLoc(getModel().getObject());
      String responseGroupId = elt.getAttribute("rgid");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.