Index: lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/action/LearningAction.java =================================================================== diff -u -r48254dfc21feff77f6873023998798430649b7a5 -rf1a2f2da6585328f8e5ad794cfcc0cb7865367f1 --- lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/action/LearningAction.java (.../LearningAction.java) (revision 48254dfc21feff77f6873023998798430649b7a5) +++ lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/action/LearningAction.java (.../LearningAction.java) (revision f1a2f2da6585328f8e5ad794cfcc0cb7865367f1) @@ -57,6 +57,7 @@ import org.lamsfoundation.lams.notebook.service.CoreNotebookConstants; import org.lamsfoundation.lams.tool.ToolAccessMode; import org.lamsfoundation.lams.tool.scratchie.ScratchieConstants; +import org.lamsfoundation.lams.tool.scratchie.dto.BurningQuestionDTO; import org.lamsfoundation.lams.tool.scratchie.dto.ReflectDTO; import org.lamsfoundation.lams.tool.scratchie.model.Scratchie; import org.lamsfoundation.lams.tool.scratchie.model.ScratchieAnswer; @@ -479,6 +480,7 @@ sessionMapID); request.setAttribute(ScratchieConstants.ATTR_SESSION_MAP_ID, sessionMapID); boolean isReflectOnActivity = (Boolean) sessionMap.get(ScratchieConstants.ATTR_REFLECTION_ON); + boolean isBurningQuestionsEnabled = (Boolean) sessionMap.get(ScratchieConstants.ATTR_IS_BURNING_QUESTIONS_ENABLED); final Long toolSessionId = (Long) sessionMap.get(AttributeNames.PARAM_TOOL_SESSION_ID); ScratchieSession toolSession = LearningAction.service.getScratchieSessionBySessionId(toolSessionId); @@ -500,6 +502,13 @@ int maxScore = (Integer) sessionMap.get(ScratchieConstants.ATTR_MAX_SCORE); double percentage = (maxScore == 0) ? 0 : ((score * 100) / maxScore); request.setAttribute(ScratchieConstants.ATTR_SCORE, (int) percentage); + + // display other groups' BurningQuestions + if (isBurningQuestionsEnabled) { + Scratchie scratchie = toolSession.getScratchie(); + List burningQuestionDtos = service.getBurningQuestionDtos(scratchie); + request.setAttribute(ScratchieConstants.ATTR_BURNING_QUESTIONS_DTOS, burningQuestionDtos); + } // display other groups' notebooks if (isReflectOnActivity) { Index: lams_tool_scratchie/web/pages/learning/results.jsp =================================================================== diff -u -r48254dfc21feff77f6873023998798430649b7a5 -rf1a2f2da6585328f8e5ad794cfcc0cb7865367f1 --- lams_tool_scratchie/web/pages/learning/results.jsp (.../results.jsp) (revision 48254dfc21feff77f6873023998798430649b7a5) +++ lams_tool_scratchie/web/pages/learning/results.jsp (.../results.jsp) (revision f1a2f2da6585328f8e5ad794cfcc0cb7865367f1) @@ -21,8 +21,11 @@