Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java =================================================================== diff -u -r96c010334a799ab269945c37537e46dd15f2a2bc -r42c1b74cbc393836dc6e71afbb4223c27690e40e --- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java (.../VoteAppConstants.java) (revision 96c010334a799ab269945c37537e46dd15f2a2bc) +++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java (.../VoteAppConstants.java) (revision 42c1b74cbc393836dc6e71afbb4223c27690e40e) @@ -185,7 +185,7 @@ public static final Integer MAX_TOOL_SESSION_COUNT =new Integer(500); public static final String IS_TOOL_SESSION_CHANGED ="isToolSessionChanged"; public static final String OPTION_OFF ="false"; - public static final String ACTIVITY_TITLE = "activityTitle"; + public static final String ACTIVITY_TITLE ="activityTitle"; public static final String ACTIVITY_INSTRUCTIONS = "activityInstructions"; public static final String MONITORING ="monitoring"; public static final String REMOVABLE_QUESTION_INDEX ="removableQuestionIndex"; Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java =================================================================== diff -u -r36db941b897cc39fda9832b8b73b3b81a3c9faa9 -r42c1b74cbc393836dc6e71afbb4223c27690e40e --- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java (.../VoteLearningStarterAction.java) (revision 36db941b897cc39fda9832b8b73b3b81a3c9faa9) +++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java (.../VoteLearningStarterAction.java) (revision 42c1b74cbc393836dc6e71afbb4223c27690e40e) @@ -187,7 +187,7 @@ * And the passed tool session id already refers to it. */ setupAttributes(request, voteContent, voteLearningForm); - + request.getSession().setAttribute(TOOL_CONTENT_ID, voteContent.getVoteContentId()); logger.debug("using TOOL_CONTENT_ID: " + voteContent.getVoteContentId()); @@ -455,6 +455,12 @@ logger.debug("allow text entry is: " + voteLearningForm.getAllowTextEntry()); voteLearningForm.setLockOnFinish(new Boolean(voteContent.isLockOnFinish()).toString()); voteLearningForm.setVoteChangable(new Boolean(voteContent.isVoteChangable()).toString()); + + logger.debug("ACTIVITY_TITLE: " + voteContent.getTitle()); + request.getSession().setAttribute(ACTIVITY_TITLE,voteContent.getTitle()); + + logger.debug("ACTIVITY_INSTRUCTIONS: " + voteContent.getInstructions()); + request.getSession().setAttribute(ACTIVITY_INSTRUCTIONS,voteContent.getInstructions()); } Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteStarterAction.java =================================================================== diff -u -r96c010334a799ab269945c37537e46dd15f2a2bc -r42c1b74cbc393836dc6e71afbb4223c27690e40e --- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteStarterAction.java (.../VoteStarterAction.java) (revision 96c010334a799ab269945c37537e46dd15f2a2bc) +++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteStarterAction.java (.../VoteStarterAction.java) (revision 42c1b74cbc393836dc6e71afbb4223c27690e40e) @@ -287,6 +287,8 @@ logger.debug("destination: " + destination); logger.debug("active module is: " + voteAuthoringForm.getActiveModule()); + + logger.debug("final ACTIVITY_TITLE is: " + request.getSession().getAttribute(ACTIVITY_TITLE)); return (mapping.findForward(destination)); } @@ -433,8 +435,8 @@ if (voteContent.getTitle() == null) { - request.getSession().setAttribute(ACTIVITY_TITLE, "Questions and Answers"); - request.getSession().setAttribute(ACTIVITY_INSTRUCTIONS, "Please answer the questions."); + request.getSession().setAttribute(ACTIVITY_TITLE, "Voting Title"); + request.getSession().setAttribute(ACTIVITY_INSTRUCTIONS, "Voting Instructions"); } else { Index: lams_tool_vote/web/learning/AllNominations.jsp =================================================================== diff -u -r96c010334a799ab269945c37537e46dd15f2a2bc -r42c1b74cbc393836dc6e71afbb4223c27690e40e --- lams_tool_vote/web/learning/AllNominations.jsp (.../AllNominations.jsp) (revision 96c010334a799ab269945c37537e46dd15f2a2bc) +++ lams_tool_vote/web/learning/AllNominations.jsp (.../AllNominations.jsp) (revision 42c1b74cbc393836dc6e71afbb4223c27690e40e) @@ -18,28 +18,44 @@ http://www.gnu.org/licenses/gpl.txt --%> + <%@ include file="/common/taglibs.jsp"%> - - - <bean:message key="label.learning"/> - <%@ include file="/common/header.jsp"%> - <%@ include file="/common/fckeditorheader.jsp"%> + + + + + + + + + + + <bean:message key="activity.title" /> + - + +
+

+ +

+ +
+ +
@@ -85,8 +101,8 @@ - -      + +   @@ -112,36 +128,40 @@ - + - + + +
+
- -
+ +
+ + +
- - Index: lams_tool_vote/web/learning/AnswersContent.jsp =================================================================== diff -u -r418f65577010d4ad648867396f4e14cd36d2c723 -r42c1b74cbc393836dc6e71afbb4223c27690e40e --- lams_tool_vote/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision 418f65577010d4ad648867396f4e14cd36d2c723) +++ lams_tool_vote/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision 42c1b74cbc393836dc6e71afbb4223c27690e40e) @@ -19,17 +19,23 @@ http://www.gnu.org/licenses/gpl.txt --%> - <%@ include file="/common/taglibs.jsp"%> - + + + + + + + + - <bean:message key="label.learning"/> - <%@ include file="/common/header.jsp"%> - <%@ include file="/common/fckeditorheader.jsp"%> + + + <bean:message key="activity.title" /> - - + +
- +

+ +

+ +
+ +
+ @@ -106,19 +119,13 @@ - + - - - - - - @@ -141,28 +148,37 @@ - - : - - + + +
+ + : + + +
+ - + + styleClass="button">
-
+ +
+ + +
Index: lams_tool_vote/web/learning/ExitLearning.jsp =================================================================== diff -u -r418f65577010d4ad648867396f4e14cd36d2c723 -r42c1b74cbc393836dc6e71afbb4223c27690e40e --- lams_tool_vote/web/learning/ExitLearning.jsp (.../ExitLearning.jsp) (revision 418f65577010d4ad648867396f4e14cd36d2c723) +++ lams_tool_vote/web/learning/ExitLearning.jsp (.../ExitLearning.jsp) (revision 42c1b74cbc393836dc6e71afbb4223c27690e40e) @@ -1,45 +1,80 @@ +<%-- +Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) +License Information: http://lamsfoundation.org/licensing/lams/2.0/ + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA + + http://www.gnu.org/licenses/gpl.txt +--%> + <%@ include file="/common/taglibs.jsp"%> - - - <bean:message key="label.learning"/> - <%@ include file="/common/header.jsp"%> - <%@ include file="/common/fckeditorheader.jsp"%> + + + + + + + + + + + <bean:message key="activity.title" /> + - - + +
+

+ +

+ +
+ +
- - - @@ -54,20 +89,25 @@ -
+
-
+
+  
+
+ +
+
+
+ + + +
- - Index: lams_tool_vote/web/learning/IndividualLearnerResults.jsp =================================================================== diff -u -r418f65577010d4ad648867396f4e14cd36d2c723 -r42c1b74cbc393836dc6e71afbb4223c27690e40e --- lams_tool_vote/web/learning/IndividualLearnerResults.jsp (.../IndividualLearnerResults.jsp) (revision 418f65577010d4ad648867396f4e14cd36d2c723) +++ lams_tool_vote/web/learning/IndividualLearnerResults.jsp (.../IndividualLearnerResults.jsp) (revision 42c1b74cbc393836dc6e71afbb4223c27690e40e) @@ -1,26 +1,62 @@ +<%-- +Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) +License Information: http://lamsfoundation.org/licensing/lams/2.0/ + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA + + http://www.gnu.org/licenses/gpl.txt +--%> + <%@ include file="/common/taglibs.jsp"%> - - - <bean:message key="label.learning"/> - <%@ include file="/common/header.jsp"%> - <%@ include file="/common/fckeditorheader.jsp"%> + + + + + + + + + + + <bean:message key="activity.title" /> + - - + +
+

+ +

+ +
+ +
+ @@ -36,7 +72,7 @@ -
+   @@ -54,24 +90,17 @@ - - -   - - - - - + @@ -81,7 +110,11 @@
+
+ + + +
-