}
else { // ok, eval the whole assessment here each time (so after a submitted item, one sees overall progress)
//getAssessmentContext().eval();
getInfo().setMessage(QTIConstants.MESSAGE_ITEM_SUBMITTED);
getInfo().setRenderItems(false);
ItemContext itc = getAssessmentContext().getCurrentSectionContext().getCurrentItemContext();
// check on section feedbacks
Output outp = itc.getOutput();
if (outp != null) getInfo().setCurrentOutput(outp);
// check on item feedback
if (itc.isFeedback()) { // feedback allowed
getInfo().setFeedback(itc.getOutput().hasItem_Responses());
}
if (itc.isHints()) { // hints allowed
if (itc.getOutput().getHint() != null) { // feedback existing on item
getInfo().setHint(true);
}
}
if (itc.isSolutions()) { // solution allowed
if (itc.getOutput().getSolution() != null) { // solution existing on item
getInfo().setSolution(true);
}
}
}