Index: lams_tool_videorecorder/db/sql/create_lams_tool_videoRecorder.sql =================================================================== diff -u -r42aa5319fbd33938828764c43dd0ab1ca80e2416 -re1dcf9367f649f3377f37e93da076cb6956cce30 --- lams_tool_videorecorder/db/sql/create_lams_tool_videoRecorder.sql (.../create_lams_tool_videoRecorder.sql) (revision 42aa5319fbd33938828764c43dd0ab1ca80e2416) +++ lams_tool_videorecorder/db/sql/create_lams_tool_videoRecorder.sql (.../create_lams_tool_videoRecorder.sql) (revision e1dcf9367f649f3377f37e93da076cb6956cce30) @@ -28,6 +28,8 @@ create_by bigint, title varchar(255), instructions text, + reflect_on_activity bit, + reflect_instructions text, run_offline bit, lock_on_finished bit, online_instructions text, @@ -111,6 +113,8 @@ instructions, online_instructions, offline_instructions, + reflect_on_activity, + reflect_instructions, tool_content_id, run_offline, lock_on_finished, @@ -129,6 +133,8 @@ "Instructions", "", "", + 0, + "", ${default_content_id}, 0, 0, Index: lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/dto/VideoRecorderDTO.java =================================================================== diff -u -r42aa5319fbd33938828764c43dd0ab1ca80e2416 -re1dcf9367f649f3377f37e93da076cb6956cce30 --- lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/dto/VideoRecorderDTO.java (.../VideoRecorderDTO.java) (revision 42aa5319fbd33938828764c43dd0ab1ca80e2416) +++ lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/dto/VideoRecorderDTO.java (.../VideoRecorderDTO.java) (revision e1dcf9367f649f3377f37e93da076cb6956cce30) @@ -49,6 +49,10 @@ public String offlineInstructions; + public boolean reflectOnActivity; + + public String reflectInstructions; + public boolean defineLater; public boolean contentInUse; @@ -95,6 +99,8 @@ allowRatings = videoRecorder.isAllowRatings(); exportAll = videoRecorder.isExportAll(); exportOffline = videoRecorder.isExportOffline(); + reflectOnActivity = videoRecorder.isReflectOnActivity(); + reflectInstructions = videoRecorder.getReflectInstructions(); onlineInstructionsFiles = new TreeSet(); offlineInstructionsFiles = new TreeSet(); @@ -174,6 +180,22 @@ this.onlineInstructionsFiles = onlineInstructionsFiles; } + public boolean isReflectOnActivity() { + return reflectOnActivity; + } + + public void setReflectOnActivity(boolean reflectOnActivity) { + this.reflectOnActivity = reflectOnActivity; + } + + public String getReflectInstructions() { + return reflectInstructions; + } + + public void setReflectInstructions(String reflectInstructions) { + this.reflectInstructions = reflectInstructions; + } + public String getTitle() { return title; } Index: lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/model/VideoRecorder.java =================================================================== diff -u -r42aa5319fbd33938828764c43dd0ab1ca80e2416 -re1dcf9367f649f3377f37e93da076cb6956cce30 --- lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/model/VideoRecorder.java (.../VideoRecorder.java) (revision 42aa5319fbd33938828764c43dd0ab1ca80e2416) +++ lams_tool_videorecorder/src/java/org/lamsfoundation/lams/tool/videoRecorder/model/VideoRecorder.java (.../VideoRecorder.java) (revision e1dcf9367f649f3377f37e93da076cb6956cce30) @@ -63,6 +63,10 @@ private String title; private String instructions; + + boolean reflectOnActivity; + + String reflectInstructions; private boolean runOffline; @@ -113,7 +117,7 @@ String onlineInstructions, String offlineInstructions, boolean contentInUse, boolean defineLater, boolean allowUseVoice, boolean allowUseCamera, boolean allowLearnerVideoExport, boolean allowLearnerVideoVisibility, Long toolContentId, Set videoRecorderAttachments, Set videoRecorderSessions, boolean exportAll, - boolean exportOffline) { + boolean exportOffline, boolean reflectOnActivity, String reflectInstructions) { this.createDate = createDate; this.updateDate = updateDate; this.createBy = createBy; @@ -133,6 +137,8 @@ this.allowLearnerVideoVisibility = allowLearnerVideoVisibility; this.exportOffline = exportOffline; this.exportAll = exportAll; + this.reflectOnActivity = reflectOnActivity; + this.reflectInstructions = reflectInstructions; } // Property accessors @@ -214,6 +220,28 @@ this.instructions = instructions; } + /** + * @hibernate.property column="reflect_on_activity" length="1" + */ + public boolean isReflectOnActivity() { + return reflectOnActivity; + } + + public void setReflectOnActivity(boolean reflectOnActivity) { + this.reflectOnActivity = reflectOnActivity; + } + + /** + * @hibernate.property column="reflect_instructions" length="65535" + */ + public String getReflectInstructions() { + return reflectInstructions; + } + + public void setReflectInstructions(String reflectInstructions) { + this.reflectInstructions = reflectInstructions; + } + /** * @hibernate.property column="run_offline" length="1" * Index: lams_tool_videorecorder/web/pages/learning/parts/finishButton.jsp =================================================================== diff -u --- lams_tool_videorecorder/web/pages/learning/parts/finishButton.jsp (revision 0) +++ lams_tool_videorecorder/web/pages/learning/parts/finishButton.jsp (revision e1dcf9367f649f3377f37e93da076cb6956cce30) @@ -0,0 +1,64 @@ +<%@ include file="/common/taglibs.jsp"%> + + + + + + +
+

+ ${videoRecorderDTO.reflectInstructions} +

+ +

+ + + + + + + + + +

+ + + + +
+
+
+ + + + + + +
+ + + + + + + + + + + + + + + +
+
Index: lams_tool_videorecorder/web/pages/learning/videoRecorder.jsp =================================================================== diff -u -r42aa5319fbd33938828764c43dd0ab1ca80e2416 -re1dcf9367f649f3377f37e93da076cb6956cce30 --- lams_tool_videorecorder/web/pages/learning/videoRecorder.jsp (.../videoRecorder.jsp) (revision 42aa5319fbd33938828764c43dd0ab1ca80e2416) +++ lams_tool_videorecorder/web/pages/learning/videoRecorder.jsp (.../videoRecorder.jsp) (revision e1dcf9367f649f3377f37e93da076cb6956cce30) @@ -73,13 +73,6 @@   - - - - - -