Package org.olat.ims.qti.container

Examples of org.olat.ims.qti.container.SectionContext.start()


      getInfo().setRenderItems(false)
    else {
      getInfo().setStatus(QTIConstants.ASSESSMENT_RUNNING);
      getInfo().setRenderItems(true);
      ac.setCurrentSectionContextPos(sectionPos);
      sc.start();
      sc.setCurrentItemContextPos(itemPos);
      sc.getCurrentItemContext().start();
    }
    getAssessmentInstance().persist();
  }
View Full Code Here


    } else if (!sc.isOpen()) {
      getInfo().setError(QTIConstants.ERROR_SECTION_OUTOFTIME);
      getInfo().setRenderItems(false)
    else {
      sc.setCurrentItemContextPos(-1); // no current item position, since we display section info only
      sc.start();
      getInfo().setStatus(QTIConstants.ASSESSMENT_RUNNING);
      getInfo().setRenderItems(false); // only section info
      getInfo().setMessage(QTIConstants.MESSAGE_SECTION_INFODEMANDED);
    }
    getAssessmentInstance().persist();
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.