Index: lams_tool_survey/src/java/org/lamsfoundation/lams/tool/survey/web/action/LearningAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_survey/src/java/org/lamsfoundation/lams/tool/survey/web/action/LearningAction.java,v diff -u -r1.5 -r1.6 --- lams_tool_survey/src/java/org/lamsfoundation/lams/tool/survey/web/action/LearningAction.java 22 Sep 2006 00:57:21 -0000 1.5 +++ lams_tool_survey/src/java/org/lamsfoundation/lams/tool/survey/web/action/LearningAction.java 22 Sep 2006 02:27:05 -0000 1.6 @@ -297,6 +297,8 @@ ISurveyService service = getSurveyService(); service.updateAnswerList(answerList); + + request.setAttribute(SurveyConstants.ATTR_SESSION_MAP_ID, sessionMapID); return mapping.findForward(SurveyConstants.SUCCESS); } @@ -431,9 +433,10 @@ //for mandatory questions, answer can not be null. if(!question.isOptional() && answer == null){ errors.add(SurveyConstants.ERROR_MSG_KEY + question.getUid(),new ActionMessage(SurveyConstants.ERROR_MSG_MANDATORY_QUESTION)); - addErrors(request, errors); } } + if(!errors.isEmpty()) + addErrors(request, errors); return errors; } Index: lams_tool_survey/web/pages/learning/question.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_survey/web/pages/learning/question.jsp,v diff -u -r1.2 -r1.3 --- lams_tool_survey/web/pages/learning/question.jsp 22 Sep 2006 00:57:21 -0000 1.2 +++ lams_tool_survey/web/pages/learning/question.jsp 22 Sep 2006 02:27:06 -0000 1.3 @@ -42,10 +42,10 @@ -

+

-

+

\ No newline at end of file Index: lams_tool_survey/web/pages/learning/result.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_survey/web/pages/learning/result.jsp,v diff -u -r1.1 -r1.2 --- lams_tool_survey/web/pages/learning/result.jsp 21 Sep 2006 07:46:41 -0000 1.1 +++ lams_tool_survey/web/pages/learning/result.jsp 22 Sep 2006 02:27:06 -0000 1.2 @@ -1,3 +1,14 @@ + + +<%@ include file="/common/taglibs.jsp"%> + + + + <fmt:message key="label.learning.title" /> + + <%@ include file="/common/header.jsp"%> + - -
- - - - - - - - - - - - -
-
+ + +
+

+ ${sessionMap.title} +

+
+
+ + +
+

+ ${sessionMap.instructions} +

+
+
+ + + + + + + + + + + + + +
+ + * + + +
+ + + + + + + + + + + + + + + ${option.description}

+
+
+ + + + +

+
+
+ +
+ + + + + + + + + + + + +
+
+ +
+ + + + + +
+ + +
+ +