Index: lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McStarterAction.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McStarterAction.java,v
diff -u -r1.82 -r1.83
--- lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McStarterAction.java 11 Sep 2006 15:30:31 -0000 1.82
+++ lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McStarterAction.java 11 Sep 2006 20:15:12 -0000 1.83
@@ -368,6 +368,17 @@
logger.debug("will return to jsp with: " + sourceMcStarter);
String destination=McUtils.getDestination(sourceMcStarter);
logger.debug("destination: " + destination);
+
+ logger.debug("activeModule: " + request.getSession().getAttribute("activeModule"));
+ logger.debug("defineLaterInEditMode: " + request.getSession().getAttribute("defineLaterInEditMode"));
+ logger.debug("editOptionsMode: " + request.getSession().getAttribute("editOptionsMode"));
+ logger.debug("richTextTitle: " + request.getSession().getAttribute("richTextTitle"));
+ logger.debug("richTextInstructions: " + request.getSession().getAttribute("richTextInstructions"));
+ logger.debug("mapQuestionsContent: " + request.getSession().getAttribute("mapQuestionsContent"));
+ logger.debug("mapWeights: " + request.getSession().getAttribute("mapWeights"));
+ logger.debug("queIndex: " + request.getSession().getAttribute("queIndex"));
+ logger.debug("maxQuestionIndex: " + request.getSession().getAttribute("maxQuestionIndex"));
+
return (mapping.findForward(destination));
}
@@ -593,6 +604,11 @@
request.getSession().setAttribute(MAP_QUESTIONS_CONTENT, mapQuestionsContent);
logger.debug("starter initialized the existing Questions Map: " + request.getSession().getAttribute(MAP_QUESTIONS_CONTENT));
+ int maxQuestionIndex=mapQuestionsContent.size();
+ request.getSession().setAttribute(MAX_QUESTION_INDEX, new Integer(maxQuestionIndex));
+ logger.debug("MAX_QUESTION_INDEX: " + request.getSession().getAttribute(MAX_QUESTION_INDEX));
+
+
AuthoringUtil.refreshMaps(request, toolContentId, mcService);
AuthoringUtil.assignStaterMapsToCurrentMaps(request);
Index: lams_tool_lamc/web/authoring/AuthoringMaincontent.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_lamc/web/authoring/Attic/AuthoringMaincontent.jsp,v
diff -u -r1.30 -r1.31
--- lams_tool_lamc/web/authoring/AuthoringMaincontent.jsp 2 Jul 2006 13:49:05 -0000 1.30
+++ lams_tool_lamc/web/authoring/AuthoringMaincontent.jsp 11 Sep 2006 20:15:12 -0000 1.31
@@ -47,7 +47,7 @@
<%@ include file="/common/header.jsp"%>
<%@ include file="/common/fckeditorheader.jsp"%>
-
+
+
+
+
+