-
-
-
+
-
+
-
+
-
Index: lams_tool_sbmt/conf/language/ApplicationResources.properties
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_sbmt/conf/language/Attic/ApplicationResources.properties,v
diff -u -r1.7 -r1.8
--- lams_tool_sbmt/conf/language/ApplicationResources.properties 27 Jun 2006 01:33:28 -0000 1.7
+++ lams_tool_sbmt/conf/language/ApplicationResources.properties 14 Jul 2006 04:54:04 -0000 1.8
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_sbmt/web/learner/definelater.jsp,v
diff -u -r1.5 -r1.6
--- lams_tool_sbmt/web/learner/definelater.jsp 2 Jul 2006 01:25:14 -0000 1.5
+++ lams_tool_sbmt/web/learner/definelater.jsp 14 Jul 2006 04:54:04 -0000 1.6
@@ -25,18 +25,7 @@
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.44 -r1.45
--- lams_tool_vote/conf/language/ApplicationResources.properties 29 Jun 2006 00:38:11 -0000 1.44
+++ lams_tool_vote/conf/language/ApplicationResources.properties 14 Jul 2006 04:52:42 -0000 1.45
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java,v
diff -u -r1.30 -r1.31
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java 4 Jul 2006 00:03:52 -0000 1.30
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java 14 Jul 2006 04:50:06 -0000 1.31
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/Attic/VoteUtils.java,v
diff -u -r1.12 -r1.13
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteUtils.java 13 Jun 2006 17:59:45 -0000 1.12
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteUtils.java 14 Jul 2006 04:50:06 -0000 1.13
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java,v
diff -u -r1.25 -r1.26
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java 4 Jul 2006 00:03:50 -0000 1.25
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java 14 Jul 2006 04:50:06 -0000 1.26
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/web/WEB-INF/Attic/lams.tld,v
diff -u -r1.4 -r1.5
--- lams_tool_vote/web/WEB-INF/lams.tld 6 Jul 2006 04:33:37 -0000 1.4
+++ lams_tool_vote/web/WEB-INF/lams.tld 14 Jul 2006 04:50:05 -0000 1.5
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_vote/web/WEB-INF/struts-config.xml,v
diff -u -r1.20 -r1.21
--- lams_tool_vote/web/WEB-INF/struts-config.xml 4 Jul 2006 00:04:24 -0000 1.20
+++ lams_tool_vote/web/WEB-INF/struts-config.xml 14 Jul 2006 04:50:05 -0000 1.21
@@ -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 --%>
+