-
-
-
+
-
+
-
+
-
Index: lams_tool_sbmt/conf/language/ApplicationResources.properties
===================================================================
diff -u -rfa9a7729c95cc646e7bb7597de25a426f77815a2 -r9393c098e5dfd603e2d37347cd1e531a25aa424a
--- lams_tool_sbmt/conf/language/ApplicationResources.properties (.../ApplicationResources.properties) (revision fa9a7729c95cc646e7bb7597de25a426f77815a2)
+++ lams_tool_sbmt/conf/language/ApplicationResources.properties (.../ApplicationResources.properties) (revision 9393c098e5dfd603e2d37347cd1e531a25aa424a)
@@ -103,7 +103,7 @@
authoring.msg.cancel.save=Do you want to close this window without saving?
#======= New labels: after 08/06/2006 =============
-define.later.message=Please wait for the teacher to define this part.
+define.later.message=Please wait for the teacher to complete the contents of this activity.
run.offline.message=This activity is not being done on the computer. Please see your instructor for details.
message.monitoring.edit.activity.not.editable=This Activity is no longer editable
button.try.again=Try again
Index: lams_tool_sbmt/web/learner/definelater.jsp
===================================================================
diff -u -r57ad9e30968d656d121271f57faab209df611255 -r9393c098e5dfd603e2d37347cd1e531a25aa424a
--- lams_tool_sbmt/web/learner/definelater.jsp (.../definelater.jsp) (revision 57ad9e30968d656d121271f57faab209df611255)
+++ lams_tool_sbmt/web/learner/definelater.jsp (.../definelater.jsp) (revision 9393c098e5dfd603e2d37347cd1e531a25aa424a)
@@ -25,18 +25,7 @@
Index: lams_tool_vote/conf/language/ApplicationResources.properties
===================================================================
diff -u -re48a67de27af42221ddce80419f05c1be4680430 -r9393c098e5dfd603e2d37347cd1e531a25aa424a
--- lams_tool_vote/conf/language/ApplicationResources.properties (.../ApplicationResources.properties) (revision e48a67de27af42221ddce80419f05c1be4680430)
+++ lams_tool_vote/conf/language/ApplicationResources.properties (.../ApplicationResources.properties) (revision 9393c098e5dfd603e2d37347cd1e531a25aa424a)
@@ -91,7 +91,7 @@
label.learner.nominations =Your nominations are:
label.learning.forceOfflineMessage =This is an offline activity. Please see your instructor for details.
label.learning.runOffline =This activity is not being done on the computer. Please see your instructor for details.
-error.defineLater =Sorry, the activity's content is not ready yet. Please wait for the teacher to define this part.
+error.defineLater =Please wait for the teacher to complete the contents of this activity.
error.toolSessionId.required =Tool Activity Error! Can't continue
URL is not complete. The Tool Activity requires a toolSession id.
error.contentId.required =Tool Activity Error! Can't continue
URL is not complete. The Tool Activity requires a content id.
error.defaultContent.notSetup =Tool Activity Error! Can't continue. The default content for the tool has not been setup properly.
@@ -139,4 +139,6 @@
#======= End labels: Exported 96 labels for en AU =====
#======= Add on 16/05/2006 =====
-authoring.msg.cancel.save=Do you want to close this window without saving?
\ No newline at end of file
+authoring.msg.cancel.save=Do you want to close this window without saving?
+#======= Add on 14/07/2006 =====
+button.try.again=Try again
Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java
===================================================================
diff -u -r6ccf686e9130dce846ee9229dd7a607277f02437 -r9393c098e5dfd603e2d37347cd1e531a25aa424a
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java (.../VoteAppConstants.java) (revision 6ccf686e9130dce846ee9229dd7a607277f02437)
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java (.../VoteAppConstants.java) (revision 9393c098e5dfd603e2d37347cd1e531a25aa424a)
@@ -277,7 +277,6 @@
public static final String USER_EXCEPTION_CONTENT_IN_USE ="userExceptionContentInUse";
public static final String USER_EXCEPTION_CONTENT_BEING_MODIFIED ="userExceptionContentBeingModified";
public static final String USER_EXCEPTION_CONTENT_RUNOFFLINE ="userExceptionContentRunOffline";
- public static final String USER_EXCEPTION_CONTENT_DEFINE_LATER ="userExceptionContentDefineLater";
public static final String USER_EXCEPTION_MODE_INVALID ="userExceptionModeInvalid";
public static final String USER_EXCEPTION_QUESTION_EMPTY ="userExceptionQuestionEmpty";
public static final String USER_EXCEPTION_ANSWER_EMPTY ="userExceptionAnswerEmpty";
Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteUtils.java
===================================================================
diff -u -r578183182c3aa8d836f7c4ff61886137fb71bcf2 -r9393c098e5dfd603e2d37347cd1e531a25aa424a
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteUtils.java (.../VoteUtils.java) (revision 578183182c3aa8d836f7c4ff61886137fb71bcf2)
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteUtils.java (.../VoteUtils.java) (revision 9393c098e5dfd603e2d37347cd1e531a25aa424a)
@@ -517,7 +517,6 @@
request.getSession().removeAttribute(USER_EXCEPTION_CONTENT_IN_USE);
request.getSession().removeAttribute(USER_EXCEPTION_CONTENT_BEING_MODIFIED);
request.getSession().removeAttribute(USER_EXCEPTION_CONTENT_RUNOFFLINE);
- request.getSession().removeAttribute(USER_EXCEPTION_CONTENT_DEFINE_LATER);
request.getSession().removeAttribute(USER_EXCEPTION_MODE_INVALID);
request.getSession().removeAttribute(USER_EXCEPTION_QUESTION_EMPTY);
request.getSession().removeAttribute(USER_EXCEPTION_ANSWER_EMPTY);
Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java
===================================================================
diff -u -r6ccf686e9130dce846ee9229dd7a607277f02437 -r9393c098e5dfd603e2d37347cd1e531a25aa424a
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java (.../VoteLearningStarterAction.java) (revision 6ccf686e9130dce846ee9229dd7a607277f02437)
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java (.../VoteLearningStarterAction.java) (revision 9393c098e5dfd603e2d37347cd1e531a25aa424a)
@@ -266,10 +266,7 @@
if (isDefineLater == true)
{
VoteUtils.cleanUpSessionAbsolute(request);
- request.getSession().setAttribute(USER_EXCEPTION_CONTENT_DEFINE_LATER, new Boolean(true).toString());
- logger.debug("warning to learner: the activity is defineLater, we interpret that the content is being modified.");
- persistInRequestError(request,"error.defineLater");
- return (mapping.findForward(ERROR_LIST));
+ return (mapping.findForward(DEFINE_LATER));
}
/*
Index: lams_tool_vote/web/WEB-INF/lams.tld
===================================================================
diff -u -rc277bb1c30c1283b5f66c6f651855c51a5f87bc5 -r9393c098e5dfd603e2d37347cd1e531a25aa424a
--- lams_tool_vote/web/WEB-INF/lams.tld (.../lams.tld) (revision c277bb1c30c1283b5f66c6f651855c51a5f87bc5)
+++ lams_tool_vote/web/WEB-INF/lams.tld (.../lams.tld) (revision 9393c098e5dfd603e2d37347cd1e531a25aa424a)
@@ -310,5 +310,8 @@
ExportPortOutput
/WEB-INF/tags/ExportPortOutput.tag
-
+
+ DefineLater
+ /WEB-INF/tags/DefineLater.tag
+
Index: lams_tool_vote/web/WEB-INF/struts-config.xml
===================================================================
diff -u -r6ccf686e9130dce846ee9229dd7a607277f02437 -r9393c098e5dfd603e2d37347cd1e531a25aa424a
--- lams_tool_vote/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision 6ccf686e9130dce846ee9229dd7a607277f02437)
+++ lams_tool_vote/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision 9393c098e5dfd603e2d37347cd1e531a25aa424a)
@@ -270,6 +270,12 @@
+
+
+ */
+%>
+
+<%@ tag body-content="scriptless" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-core" prefix="c" %>
+
+<%@ attribute name="defineLaterMessageKey" required="false" rtexprvalue="true" %>
+<%@ attribute name="buttonTryAgainKey" required="false" rtexprvalue="true" %>
+
+<%-- Default value for I18N keys --%>
+