Index: lams_central/web/authoring/template/tool/assessmcq.jsp
===================================================================
diff -u -rf32bc3c30b8ea0463d84b4dbdc112f77a400297a -r3f18890e24de43c31ac23d49e2c1a4906e479863
--- lams_central/web/authoring/template/tool/assessmcq.jsp (.../assessmcq.jsp) (revision f32bc3c30b8ea0463d84b4dbdc112f77a400297a)
+++ lams_central/web/authoring/template/tool/assessmcq.jsp (.../assessmcq.jsp) (revision 3f18890e24de43c31ac23d49e2c1a4906e479863)
@@ -1,12 +1,14 @@
<%@ taglib uri="tags-lams" prefix="lams"%>
<%@ taglib uri="tags-fmt" prefix="fmt"%>
<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-function" prefix="fn" %>
<%@ page import="org.lamsfoundation.lams.authoring.template.web.LdTemplateController"%>
${questionNumber eq 1 ? "class=\"input required\"" : "class=\"input\""}
-<%-- Generic MCQ question for assessment. Expects an input of questionNumber, contentFolderID, and creates a text field field question${questionNumber} and three options --%>
+<%-- Generic MCQ question for assessment. Expects an input of questionNumber, contentFolderID, and creates a text field field question${questionNumber} and three options.
+ Question, and hence question.title and question.text are optional and are only populated if QTI is used to start the questions. --%>
@@ -57,7 +77,10 @@
<%@ include file="assessoption.jsp" %>
-
+
+
+
+
Index: lams_central/web/authoring/template/tool/assessment.jsp
===================================================================
diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r3f18890e24de43c31ac23d49e2c1a4906e479863
--- lams_central/web/authoring/template/tool/assessment.jsp (.../assessment.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80)
+++ lams_central/web/authoring/template/tool/assessment.jsp (.../assessment.jsp) (revision 3f18890e24de43c31ac23d49e2c1a4906e479863)
@@ -1,7 +1,8 @@
<%@ taglib uri="tags-lams" prefix="lams"%>
<%@ taglib uri="tags-fmt" prefix="fmt"%>
<%@ taglib uri="tags-core" prefix="c"%>
-<%-- Generic assessment tool page. Expects an input of questionNumber & contentFolderID, and creates a field named assessment${questionNumber} suitable for a essay entry --%>
+<%-- Generic assessment tool page. Expects an input of questionNumber & contentFolderID, and creates a field named assessment${questionNumber} suitable for a essay entry.
+ Question, and hence question.title and question.text are optional and are only populated if QTI is used to start the questions. --%>
@@ -15,7 +16,8 @@
-
+
+
\ No newline at end of file
Index: lams_central/web/authoring/template/tool/assessmentQTI.jsp
===================================================================
diff -u
--- lams_central/web/authoring/template/tool/assessmentQTI.jsp (revision 0)
+++ lams_central/web/authoring/template/tool/assessmentQTI.jsp (revision 3f18890e24de43c31ac23d49e2c1a4906e479863)
@@ -0,0 +1,29 @@
+<%@ taglib uri="tags-lams" prefix="lams"%>
+<%@ taglib uri="tags-fmt" prefix="fmt"%>
+<%@ taglib uri="tags-core" prefix="c"%>
+<%-- Handles creation of multiple assessment questions based on QTI input.
+Expects an input of questionNumber (which will be the question number of the first question) & contentFolderID,
+which are passed on to the individual question jsps to generate the form fields. --%>
+${questionNumber}
+
+
+${currentNumber}
+${question}
+
+
+
+
+ <%@ include file="../tool/assessmcq.jsp" %>
+
+
+ <%@ include file="../tool/assessment.jsp" %>
+
+
+
Index: lams_central/web/authoring/template/tool/mcquestion.jsp
===================================================================
diff -u -rf32bc3c30b8ea0463d84b4dbdc112f77a400297a -r3f18890e24de43c31ac23d49e2c1a4906e479863
--- lams_central/web/authoring/template/tool/mcquestion.jsp (.../mcquestion.jsp) (revision f32bc3c30b8ea0463d84b4dbdc112f77a400297a)
+++ lams_central/web/authoring/template/tool/mcquestion.jsp (.../mcquestion.jsp) (revision 3f18890e24de43c31ac23d49e2c1a4906e479863)
@@ -1,9 +1,10 @@
<%@ taglib uri="tags-lams" prefix="lams"%>
<%@ taglib uri="tags-fmt" prefix="fmt"%>
<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-function" prefix="fn" %>
<%@ page import="org.lamsfoundation.lams.authoring.template.web.LdTemplateController"%>
-<%-- Generic Q&A question page. Expects an input of questionNumber, contentFolderID, and creates a text field field question${questionNumber} and three options --%>
+<%-- Generic Q&A question page. Expects an input of questionNumber, contentFolderID, and creates a text field field question${questionNumber} and three options / as many as are need for a QTI import --%>
\ No newline at end of file
Index: lams_central/web/authoring/template/tool/mcquestionQTI.jsp
===================================================================
diff -u
--- lams_central/web/authoring/template/tool/mcquestionQTI.jsp (revision 0)
+++ lams_central/web/authoring/template/tool/mcquestionQTI.jsp (revision 3f18890e24de43c31ac23d49e2c1a4906e479863)
@@ -0,0 +1,22 @@
+<%@ taglib uri="tags-lams" prefix="lams"%>
+<%@ taglib uri="tags-fmt" prefix="fmt"%>
+<%@ taglib uri="tags-core" prefix="c"%>
+<%-- Handles creation of multiple mcq questions based on QTI input.
+Expects an input of questionNumber (which will be the question number of the first question) & contentFolderID,
+which are passed on to the individual question jsps to generate the form fields. --%>
+${questionNumber}
+
+
+${currentNumber}
+${question}
+
+