Index: lams_tool_vote/conf/language/ApplicationResources.properties
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/conf/language/Attic/ApplicationResources.properties,v
diff -u -r1.40 -r1.41
--- lams_tool_vote/conf/language/ApplicationResources.properties 11 Jun 2006 17:57:38 -0000 1.40
+++ lams_tool_vote/conf/language/ApplicationResources.properties 13 Jun 2006 17:29:16 -0000 1.41
@@ -130,6 +130,7 @@
label.warning =Warning
label.summary.sessionSeparator =_________________________________________________
label.groupName =Group Name:
+label.learnersVoted= Learners Voted
Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java,v
diff -u -r1.26 -r1.27
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java 11 Jun 2006 17:57:38 -0000 1.26
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java 13 Jun 2006 17:29:27 -0000 1.27
@@ -60,6 +60,7 @@
public static final String ERROR_LIST ="errorList";
public static final String PREVIEW ="preview";
public static final String LEARNER_PROGRESS ="learnerProgress";
+ public static final String VOTE_NOMINATION_VIEWER ="voteNominationViewer";
public static final String LEARNER_PROGRESS_USERID ="learnerProgressUserId";
public static final String AUTHORING ="authoring";
@@ -124,6 +125,7 @@
public static final String MAP_STARTUP_GENERAL_OPTIONS_CONTENT ="mapStartupGeneralOptionsContent";
public static final String MAP_STARTUP_GENERAL_SELECTED_OPTIONS_CONTENT ="mapStartupGeneralSelectedOptionsContent";
public static final String MAP_STARTUP_GENERAL_OPTIONS_QUEID ="mapStartupGeneralOptionsQueId";
+ public static final String MAP_STUDENTS_VOTED ="mapStudentsVoted";
public static final String QUESTIONS_WITHNO_OPTIONS ="questionsWithNoOptions";
public static final String MAP_GENERAL_CHECKED_OPTIONS_CONTENT ="mapGeneralCheckedOptionsContent";
Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteMonitoringAction.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteMonitoringAction.java,v
diff -u -r1.29 -r1.30
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteMonitoringAction.java 13 Jun 2006 09:38:00 -0000 1.29
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteMonitoringAction.java 13 Jun 2006 17:29:57 -0000 1.30
@@ -1015,11 +1015,46 @@
request.getSession().setAttribute(CURRENT_MONITORED_TOOL_SESSION, currentMonitoredToolSession);
logger.debug("CURRENT_MONITORED_TOOL_SESSION: " + request.getSession().getAttribute(CURRENT_MONITORED_TOOL_SESSION));
- //return (mapping.findForward(LOAD_MONITORING));
logger.debug("submitting session to refresh the data from the database: ");
return submitSession(mapping, form, request, response);
}
+ public ActionForward getVoteNomination(ActionMapping mapping, ActionForm form,
+ HttpServletRequest request,HttpServletResponse response) throws IOException,
+ ServletException, ToolException
+ {
+ logger.debug("dispatching getVoteNomination...");
+ String questionUid=request.getParameter("questionUid");
+ String sessionUid=request.getParameter("sessionUid");
+
+ logger.debug("questionUid: " + questionUid);
+ logger.debug("sessionUid: " + sessionUid);
+
+ IVoteService voteService=null;
+ voteService = (IVoteService)request.getSession().getAttribute(TOOL_SERVICE);
+ logger.debug("voteService: " + voteService);
+
+ List userNames=voteService.getStandardAttemptUsersForQuestionContentAndSessionUid(new Long(questionUid), new Long(sessionUid));
+ logger.debug("userNames: " + userNames);
+ List listVotedLearnersDTO= new LinkedList();
+
+ Iterator userIterator=userNames.iterator();
+ while (userIterator.hasNext())
+ {
+ VoteUsrAttempt voteUsrAttempt=(VoteUsrAttempt)userIterator.next();
+ VoteMonitoredUserDTO voteMonitoredUserDTO= new VoteMonitoredUserDTO();
+ voteMonitoredUserDTO.setUserName(voteUsrAttempt.getVoteQueUsr().getFullname());
+ voteMonitoredUserDTO.setAttemptTime(voteUsrAttempt.getAttemptTime().toString());
+ listVotedLearnersDTO.add(voteMonitoredUserDTO);
+ }
+ logger.debug("listVoteAllSessionsDTO: " + listVotedLearnersDTO);
+
+ request.getSession().setAttribute(MAP_STUDENTS_VOTED,listVotedLearnersDTO);
+
+ logger.debug("fdwing to: " + VOTE_NOMINATION_VIEWER);
+ return (mapping.findForward(VOTE_NOMINATION_VIEWER));
+ }
+
/**
Fisheye: Tag 1.3 refers to a dead (removed) revision in file `lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteNominationViewer.java'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_vote/web/WEB-INF/struts-config.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/web/WEB-INF/struts-config.xml,v
diff -u -r1.18 -r1.19
--- lams_tool_vote/web/WEB-INF/struts-config.xml 17 May 2006 13:32:25 -0000 1.18
+++ lams_tool_vote/web/WEB-INF/struts-config.xml 13 Jun 2006 17:33:16 -0000 1.19
@@ -449,8 +449,13 @@
path="/monitoring/MonitoringMaincontent.jsp"
redirect="false"
/>
-
+
+
-
Index: lams_tool_vote/web/WEB-INF/web.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/web/WEB-INF/web.xml,v
diff -u -r1.7 -r1.8
--- lams_tool_vote/web/WEB-INF/web.xml 12 Jun 2006 19:52:11 -0000 1.7
+++ lams_tool_vote/web/WEB-INF/web.xml 13 Jun 2006 17:33:16 -0000 1.8
@@ -138,13 +138,7 @@
org.lamsfoundation.lams.tool.vote.web.VoteChartGenerator
-
- voteNominationViewer
- org.lamsfoundation.lams.tool.vote.web.VoteNominationViewer
-
-
-
Connector
@@ -180,12 +174,6 @@
/chartGenerator/*
-
- voteNominationViewer
- /voteNominationViewer/*
-
-
-
Connector
/fckeditor/editor/filemanager/browser/default/connectors/jsp/connector
Index: lams_tool_vote/web/authoring/AuthoringMaincontent.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/web/authoring/AuthoringMaincontent.jsp,v
diff -u -r1.16 -r1.17
--- lams_tool_vote/web/authoring/AuthoringMaincontent.jsp 2 Jun 2006 08:03:42 -0000 1.16
+++ lams_tool_vote/web/authoring/AuthoringMaincontent.jsp 13 Jun 2006 17:30:30 -0000 1.17
@@ -50,18 +50,10 @@
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
+
-
- includes/javascript/tabcontroller.js">
- includes/javascript/common.js">
Index: lams_tool_vote/web/monitoring/AllSessionsSummary.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/web/monitoring/AllSessionsSummary.jsp,v
diff -u -r1.5 -r1.6
--- lams_tool_vote/web/monitoring/AllSessionsSummary.jsp 13 Jun 2006 09:40:33 -0000 1.5
+++ lams_tool_vote/web/monitoring/AllSessionsSummary.jsp 13 Jun 2006 17:32:37 -0000 1.6
@@ -155,7 +155,7 @@
-
+ monitoring.do?method=getVoteNomination&questionUid=${currentQuestionUid.value}&sessionUid=${currentSessionUid.value}
Index: lams_tool_vote/web/monitoring/IndividualSessionSummary.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/web/monitoring/Attic/IndividualSessionSummary.jsp,v
diff -u -r1.5 -r1.6
--- lams_tool_vote/web/monitoring/IndividualSessionSummary.jsp 13 Jun 2006 09:40:33 -0000 1.5
+++ lams_tool_vote/web/monitoring/IndividualSessionSummary.jsp 13 Jun 2006 17:32:37 -0000 1.6
@@ -148,7 +148,7 @@
-
+ monitoring.do?method=getVoteNomination&questionUid=${currentQuestionUid.value}&sessionUid=${currentSessionUid.value}
Index: lams_tool_vote/web/monitoring/MonitoringMaincontent.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/web/monitoring/MonitoringMaincontent.jsp,v
diff -u -r1.7 -r1.8
--- lams_tool_vote/web/monitoring/MonitoringMaincontent.jsp 1 Jun 2006 09:17:58 -0000 1.7
+++ lams_tool_vote/web/monitoring/MonitoringMaincontent.jsp 13 Jun 2006 17:32:37 -0000 1.8
@@ -49,18 +49,9 @@
+
-
-
-
-
-
-
-
-
-
-