Index: lams_central/web/authoring/template/tool/assessmcq.jsp
===================================================================
diff -u -ra9f5e7f17f2c4ca78ee68eb398817a79735c148f -rdd8758e2e6d773e610086c90370c6e25e925de34
--- lams_central/web/authoring/template/tool/assessmcq.jsp (.../assessmcq.jsp) (revision a9f5e7f17f2c4ca78ee68eb398817a79735c148f)
+++ lams_central/web/authoring/template/tool/assessmcq.jsp (.../assessmcq.jsp) (revision dd8758e2e6d773e610086c90370c6e25e925de34)
@@ -1,26 +1,38 @@
<%@ 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. ${containingDivName} is set if this is being called from
+ a page with multiple sets of assessments, like the Application Exercises for TBL. --%>
+<%-- The title needs to look like an ordinary panel title, but be editable via the X-editable javascript. But that won't be returned to the server in the form data, so copy what appears in the displayed span to a hidden input field. --%>
+
+${question.title}
+
+
+${containingDivName}assessment${questionNumber}titleDisplay
+${containingDivName}assessment${questionNumber}title
+
-
+
+
\ No newline at end of file
Index: lams_central/web/authoring/template/tool/assessment.jsp
===================================================================
diff -u -r70e6fe3062072e2c6188217c562a4f33f0838604 -rdd8758e2e6d773e610086c90370c6e25e925de34
--- lams_central/web/authoring/template/tool/assessment.jsp (.../assessment.jsp) (revision 70e6fe3062072e2c6188217c562a4f33f0838604)
+++ lams_central/web/authoring/template/tool/assessment.jsp (.../assessment.jsp) (revision dd8758e2e6d773e610086c90370c6e25e925de34)
@@ -1,21 +1,46 @@
<%@ 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. ${containingDivName} is set if this is being called from
+ a page with multiple sets of assessments, like the Application Exercises for TBL. --%>
+<%-- The title needs to look like an ordinary panel title, but be editable via the X-editable javascript. But that won't be returned to the server in the form data, so copy what appears in the displayed span to a hidden input field. --%>
+
+${question.title}
+
+
+${containingDivName}assessment${questionNumber}titleDisplay
+${containingDivName}assessment${questionNumber}title
+
${questionNumber eq 1 ? "" : ""}
+
-
-
+
+
-
\ No newline at end of file
+
+
+
\ No newline at end of file
Index: lams_central/web/authoring/template/tool/assessoption.jsp
===================================================================
diff -u -ra9f5e7f17f2c4ca78ee68eb398817a79735c148f -rdd8758e2e6d773e610086c90370c6e25e925de34
--- lams_central/web/authoring/template/tool/assessoption.jsp (.../assessoption.jsp) (revision a9f5e7f17f2c4ca78ee68eb398817a79735c148f)
+++ lams_central/web/authoring/template/tool/assessoption.jsp (.../assessoption.jsp) (revision dd8758e2e6d773e610086c90370c6e25e925de34)
@@ -1,9 +1,9 @@
<%@ taglib uri="tags-lams" prefix="lams"%>
<%@ taglib uri="tags-fmt" prefix="fmt"%>
<%@ taglib uri="tags-core" prefix="c"%>
-<%-- Option page for the Assessment Multiple Choice question. Creates the output assmcq${questionNumber}option${optionNumber} --%>
+<%-- Option page for the Assessment Multiple Choice question. Creates the output ${containingDivName}assmcq${questionNumber}option${optionNumber} --%>
- assmcq${questionNumber}option${optionNumber}
+ ${containingDivName}assmcq${questionNumber}option${optionNumber}
\ No newline at end of file
Index: lams_central/web/authoring/template/tool/mcoption.jsp
===================================================================
diff -u -ra9f5e7f17f2c4ca78ee68eb398817a79735c148f -rdd8758e2e6d773e610086c90370c6e25e925de34
--- lams_central/web/authoring/template/tool/mcoption.jsp (.../mcoption.jsp) (revision a9f5e7f17f2c4ca78ee68eb398817a79735c148f)
+++ lams_central/web/authoring/template/tool/mcoption.jsp (.../mcoption.jsp) (revision dd8758e2e6d773e610086c90370c6e25e925de34)
@@ -15,14 +15,7 @@
-
-
-
-
-
-
-
-
+
Index: lams_central/web/authoring/template/tool/mcquestion.jsp
===================================================================
diff -u -ra9f5e7f17f2c4ca78ee68eb398817a79735c148f -rdd8758e2e6d773e610086c90370c6e25e925de34
--- lams_central/web/authoring/template/tool/mcquestion.jsp (.../mcquestion.jsp) (revision a9f5e7f17f2c4ca78ee68eb398817a79735c148f)
+++ lams_central/web/authoring/template/tool/mcquestion.jsp (.../mcquestion.jsp) (revision dd8758e2e6d773e610086c90370c6e25e925de34)
@@ -1,18 +1,32 @@
<%@ 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 --%>
+<%-- The title needs to look like an ordinary panel title, but be editable via the X-editable javascript. But that won't be returned to the server in the form data, so copy what appears in the displayed span to a hidden input field. --%>
+
+${question.title}
+
+
+question${questionNumber}titleDisplay
+question${questionNumber}title
+