Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaAuthoringConditionController.java =================================================================== diff -u -r5f5d164117e56516c294f276bbaa4a33e2108372 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaAuthoringConditionController.java (.../QaAuthoringConditionController.java) (revision 5f5d164117e56516c294f276bbaa4a33e2108372) +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaAuthoringConditionController.java (.../QaAuthoringConditionController.java) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -34,7 +34,6 @@ import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.math.NumberUtils; import org.apache.struts.action.ActionForm; -import org.apache.struts.util.LabelValueBean; import org.lamsfoundation.lams.learningdesign.TextSearchConditionComparator; import org.lamsfoundation.lams.tool.qa.QaAppConstants; import org.lamsfoundation.lams.tool.qa.QaCondition; @@ -79,7 +78,7 @@ * @return */ @RequestMapping("/newConditionInit") - private String newConditionInit(@ModelAttribute QaConditionForm QaConditionForm, HttpServletRequest request) { + private String newConditionInit(@ModelAttribute("QaConditionForm") QaConditionForm QaConditionForm, HttpServletRequest request) { populateFormWithPossibleItems(QaConditionForm, request); QaConditionForm.setOrderId(-1); @@ -94,7 +93,7 @@ * @return */ @RequestMapping("/editCondition") - private String editCondition(QaConditionForm QaConditionForm, HttpServletRequest request) { + private String editCondition(@ModelAttribute("QaConditionForm")QaConditionForm QaConditionForm, HttpServletRequest request) { String sessionMapID = QaConditionForm.getSessionMapID(); SessionMap sessionMap = (SessionMap) request.getSession().getAttribute(sessionMapID); @@ -127,7 +126,7 @@ * @throws ServletException */ @RequestMapping(value = "/saveOrUpdateCondition", method = RequestMethod.POST) - private String saveOrUpdateCondition(QaConditionForm QaConditionForm, HttpServletRequest request) { + private String saveOrUpdateCondition(@ModelAttribute("QaConditionForm")QaConditionForm QaConditionForm, HttpServletRequest request) { MultiValueMap errorMap = validateQaCondition(QaConditionForm, request); @@ -327,7 +326,7 @@ * @param form * @param request */ - private void populateFormWithPossibleItems(QaConditionForm QaConditionForm, HttpServletRequest request) { + private void populateFormWithPossibleItems(@ModelAttribute("QaConditionForm")QaConditionForm QaConditionForm, HttpServletRequest request) { // get back sessionMAP String sessionMapID = QaConditionForm.getSessionMapID(); SessionMap sessionMap = (SessionMap) request.getSession().getAttribute(sessionMapID); Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaController.java =================================================================== diff -u -r5f5d164117e56516c294f276bbaa4a33e2108372 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaController.java (.../QaController.java) (revision 5f5d164117e56516c294f276bbaa4a33e2108372) +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaController.java (.../QaController.java) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -36,16 +36,10 @@ import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.log4j.Logger; import org.apache.struts.Globals; -import org.apache.struts.action.ActionForm; -import org.apache.struts.action.ActionForward; -import org.apache.struts.action.ActionMapping; -import org.apache.struts.action.ActionMessage; -import org.apache.struts.action.ActionMessages; import org.lamsfoundation.lams.authoring.web.AuthoringConstants; import org.lamsfoundation.lams.learningdesign.TextSearchConditionComparator; import org.lamsfoundation.lams.rating.model.RatingCriteria; @@ -57,7 +51,6 @@ import org.lamsfoundation.lams.tool.qa.QaQueContent; import org.lamsfoundation.lams.tool.qa.dto.QaQuestionDTO; import org.lamsfoundation.lams.tool.qa.service.IQaService; -import org.lamsfoundation.lams.tool.qa.service.QaServiceProxy; import org.lamsfoundation.lams.tool.qa.util.AuthoringUtil; import org.lamsfoundation.lams.tool.qa.util.QaApplicationException; import org.lamsfoundation.lams.tool.qa.util.QaQueContentComparator; @@ -100,9 +93,10 @@ public String unspecified() { return "authoring/AuthoringTabsHolder"; } - + @RequestMapping("/authoring") - public String execute(@ModelAttribute QaAuthoringForm authoringForm, HttpServletRequest request) throws IOException, ServletException, QaApplicationException { + public String execute(@ModelAttribute("authoringForm") QaAuthoringForm authoringForm, HttpServletRequest request) + throws IOException, ServletException, QaApplicationException { QaUtils.cleanUpSessionAbsolute(request); @@ -160,7 +154,6 @@ // get rating criterias from DB List ratingCriterias = qaService.getRatingCriterias(qaContent.getQaContentId()); sessionMap.put(AttributeNames.ATTR_RATING_CRITERIAS, ratingCriterias); - request.setAttribute("authoringForm", authoringForm); return "authoring/AuthoringTabsHolder"; } @@ -170,27 +163,27 @@ * * @param request * @param mapping - * @param qaAuthoringForm + * @param authoringForm * @param mapQuestionContent * @param toolContentID * @return ActionForward */ - protected QaContent prepareDTOandForm(HttpServletRequest request, QaAuthoringForm qaAuthoringForm, + protected QaContent prepareDTOandForm(HttpServletRequest request,@ModelAttribute("authoringForm") QaAuthoringForm authoringForm, QaContent qaContent, IQaService qaService, SessionMap sessionMap) { - qaAuthoringForm.setUsernameVisible(qaContent.isUsernameVisible() ? "1" : "0"); - qaAuthoringForm.setAllowRateAnswers(qaContent.isAllowRateAnswers() ? "1" : "0"); - qaAuthoringForm.setNotifyTeachersOnResponseSubmit(qaContent.isNotifyTeachersOnResponseSubmit() ? "1" : "0"); - qaAuthoringForm.setShowOtherAnswers(qaContent.isShowOtherAnswers() ? "1" : "0"); - qaAuthoringForm.setQuestionsSequenced(qaContent.isQuestionsSequenced() ? "1" : "0"); - qaAuthoringForm.setLockWhenFinished(qaContent.isLockWhenFinished() ? "1" : "0"); - qaAuthoringForm.setNoReeditAllowed(qaContent.isNoReeditAllowed() ? "1" : "0"); - qaAuthoringForm.setMaximumRates(qaContent.getMaximumRates()); - qaAuthoringForm.setMinimumRates(qaContent.getMinimumRates()); - qaAuthoringForm.setReflect(qaContent.isReflect() ? "1" : "0"); - qaAuthoringForm.setReflectionSubject(qaContent.getReflectionSubject()); - qaAuthoringForm.setTitle(qaContent.getTitle()); - qaAuthoringForm.setInstructions(qaContent.getInstructions()); + authoringForm.setUsernameVisible(qaContent.isUsernameVisible() ? "1" : "0"); + authoringForm.setAllowRateAnswers(qaContent.isAllowRateAnswers() ? "1" : "0"); + authoringForm.setNotifyTeachersOnResponseSubmit(qaContent.isNotifyTeachersOnResponseSubmit() ? "1" : "0"); + authoringForm.setShowOtherAnswers(qaContent.isShowOtherAnswers() ? "1" : "0"); + authoringForm.setQuestionsSequenced(qaContent.isQuestionsSequenced() ? "1" : "0"); + authoringForm.setLockWhenFinished(qaContent.isLockWhenFinished() ? "1" : "0"); + authoringForm.setNoReeditAllowed(qaContent.isNoReeditAllowed() ? "1" : "0"); + authoringForm.setMaximumRates(qaContent.getMaximumRates()); + authoringForm.setMinimumRates(qaContent.getMinimumRates()); + authoringForm.setReflect(qaContent.isReflect() ? "1" : "0"); + authoringForm.setReflectionSubject(qaContent.getReflectionSubject()); + authoringForm.setTitle(qaContent.getTitle()); + authoringForm.setInstructions(qaContent.getInstructions()); sessionMap.put(QaAppConstants.ACTIVITY_TITLE_KEY, qaContent.getTitle()); sessionMap.put(QaAppConstants.ACTIVITY_INSTRUCTIONS_KEY, qaContent.getInstructions()); @@ -229,7 +222,7 @@ List listDeletedQuestionDTOs = new ArrayList<>(); sessionMap.put(QaAppConstants.LIST_DELETED_QUESTION_DTOS, listDeletedQuestionDTOs); - qaAuthoringForm.resetUserAction(); + authoringForm.resetUserAction(); return qaContent; } @@ -244,7 +237,7 @@ * @param mapping * @return ActionForward */ - public boolean validateDefaultContent(HttpServletRequest request, QaAuthoringForm authoringForm) { + public boolean validateDefaultContent(HttpServletRequest request,@ModelAttribute("authoringForm") QaAuthoringForm authoringForm) { /* * retrieve the default content id based on tool signature @@ -308,7 +301,7 @@ * submits content into the tool database */ @RequestMapping("/submitAllContent") - public String submitAllContent(QaAuthoringForm authoringForm, HttpServletRequest request) + public String submitAllContent(@ModelAttribute("authoringForm") QaAuthoringForm authoringForm, HttpServletRequest request) throws IOException, ServletException { String httpSessionID = authoringForm.getHttpSessionID(); @@ -421,7 +414,6 @@ request.getSession().setAttribute(httpSessionID, sessionMap); request.setAttribute(QaAppConstants.TOTAL_QUESTION_COUNT, new Integer(questionDTOs.size())); sessionMap.put(QaAppConstants.LIST_QUESTION_DTOS, questionDTOs); - request.setAttribute("authoringForm", authoringForm); return "authoring/AuthoringTabsHolder"; } @@ -602,7 +594,7 @@ * saveSingleQuestion */ @RequestMapping("/saveSingleQuestion") - public String saveSingleQuestion(@ModelAttribute("newQuestionForm")QaAuthoringForm newQuestionForm, HttpServletRequest request) + public String saveSingleQuestion(@ModelAttribute("newQuestionForm") QaAuthoringForm newQuestionForm, HttpServletRequest request) throws IOException, ServletException { String httpSessionID = newQuestionForm.getHttpSessionID(); @@ -716,15 +708,16 @@ request.getSession().setAttribute(httpSessionID, sessionMap); request.setAttribute(QaAppConstants.TOTAL_QUESTION_COUNT, new Integer(questionDTOs.size())); request.setAttribute("authoringForm", newQuestionForm); + return "authoring/AuthoringTabsHolder"; } /** * addSingleQuestion */ @RequestMapping("/addSingleQuestion") - public String addSingleQuestion(@ModelAttribute("newQuestionForm") QaAuthoringForm newQuestionForm, HttpServletRequest request) - throws IOException, ServletException { + public String addSingleQuestion(@ModelAttribute("newQuestionForm") QaAuthoringForm newQuestionForm, + HttpServletRequest request) throws IOException, ServletException { String httpSessionID = newQuestionForm.getHttpSessionID(); @@ -793,28 +786,28 @@ * opens up an new screen within the current page for adding a new question */ @RequestMapping("/newQuestionBox") - public String newQuestionBox(@ModelAttribute QaAuthoringForm authoringForm, HttpServletRequest request) + public String newQuestionBox(@ModelAttribute("newQuestionForm") QaAuthoringForm newQuestionForm, HttpServletRequest request) throws IOException, ServletException { - String httpSessionID = authoringForm.getHttpSessionID(); + String httpSessionID = newQuestionForm.getHttpSessionID(); SessionMap sessionMap = (SessionMap) request.getSession() .getAttribute(httpSessionID); String contentFolderID = WebUtil.readStrParam(request, AttributeNames.PARAM_CONTENT_FOLDER_ID); - authoringForm.setContentFolderID(contentFolderID); + newQuestionForm.setContentFolderID(contentFolderID); String strToolContentID = request.getParameter(AttributeNames.PARAM_TOOL_CONTENT_ID); String richTextTitle = request.getParameter(QaAppConstants.TITLE); String richTextInstructions = request.getParameter(QaAppConstants.INSTRUCTIONS); - authoringForm.setTitle(richTextTitle); - authoringForm.setInstructions(richTextInstructions); + newQuestionForm.setTitle(richTextTitle); + newQuestionForm.setInstructions(richTextInstructions); - QaUtils.setFormProperties(request, authoringForm, strToolContentID, httpSessionID); + QaUtils.setFormProperties(request, newQuestionForm, strToolContentID, httpSessionID); Collection questionDTOs = (Collection) sessionMap .get(QaAppConstants.LIST_QUESTION_DTOS); @@ -828,25 +821,24 @@ request.setAttribute(QaAppConstants.ATTR_WIZARD_CATEGORIES, qaService.getWizardCategories()); } - request.setAttribute("authoringForm", authoringForm); return "authoring/newQuestionBox"; } /** * opens up an new screen within the current page for editing a question */ @RequestMapping("/newEditableQuestionBox") - public String newEditableQuestionBox(QaAuthoringForm authoringForm, HttpServletRequest request) + public String newEditableQuestionBox(@ModelAttribute("newQuestionForm") QaAuthoringForm newQuestionForm, HttpServletRequest request) throws IOException, ServletException { - String httpSessionID = authoringForm.getHttpSessionID(); + String httpSessionID = newQuestionForm.getHttpSessionID(); SessionMap sessionMap = (SessionMap) request.getSession() .getAttribute(httpSessionID); String questionIndex = request.getParameter("questionIndex"); - authoringForm.setEditableQuestionIndex(questionIndex); + newQuestionForm.setEditableQuestionIndex(questionIndex); List questionDTOs = (List) sessionMap.get(QaAppConstants.LIST_QUESTION_DTOS); @@ -872,25 +864,24 @@ } String contentFolderID = WebUtil.readStrParam(request, AttributeNames.PARAM_CONTENT_FOLDER_ID); - authoringForm.setContentFolderID(contentFolderID); + newQuestionForm.setContentFolderID(contentFolderID); String strToolContentID = request.getParameter(AttributeNames.PARAM_TOOL_CONTENT_ID); String richTextTitle = request.getParameter(QaAppConstants.TITLE); String richTextInstructions = request.getParameter(QaAppConstants.INSTRUCTIONS); - authoringForm.setTitle(richTextTitle); - authoringForm.setInstructions(richTextInstructions); + newQuestionForm.setTitle(richTextTitle); + newQuestionForm.setInstructions(richTextInstructions); - QaUtils.setFormProperties(request, authoringForm, strToolContentID, httpSessionID); + QaUtils.setFormProperties(request, newQuestionForm, strToolContentID, httpSessionID); - authoringForm.setRequired(requiredBoolean); - authoringForm.setMinWordsLimit(minWordsLimit); - authoringForm.setEditableQuestionText(editableQuestion); - authoringForm.setFeedback(editableFeedback); + newQuestionForm.setRequired(requiredBoolean); + newQuestionForm.setMinWordsLimit(minWordsLimit); + newQuestionForm.setEditableQuestionText(editableQuestion); + newQuestionForm.setFeedback(editableFeedback); request.setAttribute(QaAppConstants.TOTAL_QUESTION_COUNT, new Integer(questionDTOs.size())); - request.setAttribute("authoringForm", authoringForm); return "authoring/newQuestionBox"; } @@ -899,10 +890,10 @@ * removes a question from the questions map */ @RequestMapping("/removeQuestion") - public String removeQuestion(QaAuthoringForm authoringForm, HttpServletRequest request) + public String removeQuestion(@ModelAttribute("newQuestionForm") QaAuthoringForm newQuestionForm, HttpServletRequest request) throws IOException, ServletException { - String httpSessionID = authoringForm.getHttpSessionID(); + String httpSessionID = newQuestionForm.getHttpSessionID(); SessionMap sessionMap = (SessionMap) request.getSession() .getAttribute(httpSessionID); @@ -952,20 +943,20 @@ } String contentFolderID = WebUtil.readStrParam(request, AttributeNames.PARAM_CONTENT_FOLDER_ID); - authoringForm.setContentFolderID(contentFolderID); + newQuestionForm.setContentFolderID(contentFolderID); String richTextTitle = request.getParameter(QaAppConstants.TITLE); String richTextInstructions = request.getParameter(QaAppConstants.INSTRUCTIONS); sessionMap.put(QaAppConstants.ACTIVITY_TITLE_KEY, richTextTitle); sessionMap.put(QaAppConstants.ACTIVITY_INSTRUCTIONS_KEY, richTextInstructions); String strToolContentID = request.getParameter(AttributeNames.PARAM_TOOL_CONTENT_ID); - authoringForm.setTitle(richTextTitle); - authoringForm.setInstructions(richTextInstructions); + newQuestionForm.setTitle(richTextTitle); + newQuestionForm.setInstructions(richTextInstructions); request.getSession().setAttribute(httpSessionID, sessionMap); - QaUtils.setFormProperties(request, authoringForm, strToolContentID, httpSessionID); - authoringForm.setToolContentID(strToolContentID); - authoringForm.setHttpSessionID(httpSessionID); - authoringForm.setCurrentTab("1"); - request.setAttribute("authoringForm", authoringForm); + QaUtils.setFormProperties(request, newQuestionForm, strToolContentID, httpSessionID); + newQuestionForm.setToolContentID(strToolContentID); + newQuestionForm.setHttpSessionID(httpSessionID); + newQuestionForm.setCurrentTab("1"); + request.setAttribute("authoringForm", newQuestionForm); return "authoring/AuthoringTabsHolder"; } @@ -974,10 +965,10 @@ * moves a question down in the list */ @RequestMapping("/moveQuestionDown") - public String moveQuestionDown(QaAuthoringForm authoringForm, HttpServletRequest request) + public String moveQuestionDown(@ModelAttribute("newQuestionForm") QaAuthoringForm newQuestionForm, HttpServletRequest request) throws IOException, ServletException { - String httpSessionID = authoringForm.getHttpSessionID(); + String httpSessionID = newQuestionForm.getHttpSessionID(); SessionMap sessionMap = (SessionMap) request.getSession() .getAttribute(httpSessionID); @@ -995,7 +986,7 @@ sessionMap.put(QaAppConstants.LIST_QUESTION_DTOS, questionDTOs); String contentFolderID = WebUtil.readStrParam(request, AttributeNames.PARAM_CONTENT_FOLDER_ID); - authoringForm.setContentFolderID(contentFolderID); + newQuestionForm.setContentFolderID(contentFolderID); String richTextTitle = request.getParameter(QaAppConstants.TITLE); @@ -1006,31 +997,31 @@ String strToolContentID = request.getParameter(AttributeNames.PARAM_TOOL_CONTENT_ID); - authoringForm.setTitle(richTextTitle); - authoringForm.setInstructions(richTextInstructions); + newQuestionForm.setTitle(richTextTitle); + newQuestionForm.setInstructions(richTextInstructions); request.getSession().setAttribute(httpSessionID, sessionMap); - QaUtils.setFormProperties(request, authoringForm, strToolContentID, httpSessionID); + QaUtils.setFormProperties(request, newQuestionForm, strToolContentID, httpSessionID); - authoringForm.setToolContentID(strToolContentID); - authoringForm.setHttpSessionID(httpSessionID); - authoringForm.setCurrentTab("1"); + newQuestionForm.setToolContentID(strToolContentID); + newQuestionForm.setHttpSessionID(httpSessionID); + newQuestionForm.setCurrentTab("1"); request.setAttribute(QaAppConstants.LIST_QUESTION_DTOS, questionDTOs); request.setAttribute(QaAppConstants.TOTAL_QUESTION_COUNT, new Integer(questionDTOs.size())); - request.setAttribute("authoringForm", authoringForm); + request.setAttribute("authoringForm", newQuestionForm); return "authoring/AuthoringTabsHolder"; } /** * moves a question up in the list */ @RequestMapping("/moveQuestionUp") - public String moveQuestionUp(QaAuthoringForm authoringForm, HttpServletRequest request) + public String moveQuestionUp(@ModelAttribute("newQuestionForm") QaAuthoringForm newQuestionForm, HttpServletRequest request) throws IOException, ServletException { - String httpSessionID = authoringForm.getHttpSessionID(); + String httpSessionID = newQuestionForm.getHttpSessionID(); SessionMap sessionMap = (SessionMap) request.getSession() .getAttribute(httpSessionID); @@ -1049,7 +1040,7 @@ String contentFolderID = WebUtil.readStrParam(request, AttributeNames.PARAM_CONTENT_FOLDER_ID); - authoringForm.setContentFolderID(contentFolderID); + newQuestionForm.setContentFolderID(contentFolderID); String richTextTitle = request.getParameter(QaAppConstants.TITLE); @@ -1060,21 +1051,21 @@ String strToolContentID = request.getParameter(AttributeNames.PARAM_TOOL_CONTENT_ID); - authoringForm.setTitle(richTextTitle); - authoringForm.setInstructions(richTextInstructions); + newQuestionForm.setTitle(richTextTitle); + newQuestionForm.setInstructions(richTextInstructions); request.getSession().setAttribute(httpSessionID, sessionMap); - QaUtils.setFormProperties(request, authoringForm, strToolContentID, httpSessionID); + QaUtils.setFormProperties(request, newQuestionForm, strToolContentID, httpSessionID); - authoringForm.setToolContentID(strToolContentID); - authoringForm.setHttpSessionID(httpSessionID); - authoringForm.setCurrentTab("1"); + newQuestionForm.setToolContentID(strToolContentID); + newQuestionForm.setHttpSessionID(httpSessionID); + newQuestionForm.setCurrentTab("1"); request.setAttribute(QaAppConstants.LIST_QUESTION_DTOS, questionDTOs); request.setAttribute(QaAppConstants.TOTAL_QUESTION_COUNT, new Integer(questionDTOs.size())); - request.setAttribute("authoringForm", authoringForm); + request.setAttribute("authoringForm", newQuestionForm); return "authoring/AuthoringTabsHolder"; } Index: lams_tool_laqa/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -32,7 +32,6 @@ <%@ tag body-content="scriptless" %> <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> -<%@ taglib uri="tags-html" prefix="html" %> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ attribute name="formID" required="true" rtexprvalue="true" %> @@ -123,11 +122,11 @@ } \ No newline at end of file Index: lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag (.../AuthoringRatingAllStyleCriteria.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag (.../AuthoringRatingAllStyleCriteria.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -8,7 +8,6 @@ <%@ tag body-content="scriptless" %> <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> -<%@ taglib uri="tags-html" prefix="html" %> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-function" prefix="fn" %> Index: lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingCriteria.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -8,9 +8,9 @@ <%@ tag body-content="scriptless" %> <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> -<%@ taglib uri="tags-html" prefix="html" %> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-function" prefix="fn" %> +<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> <%@ attribute name="criterias" required="true" rtexprvalue="true" type="java.util.Collection" %> @@ -284,42 +284,42 @@ - - + + - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + - - + + - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + Index: lams_tool_laqa/web/WEB-INF/tags/CommentsAuthor.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/CommentsAuthor.tag (.../CommentsAuthor.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/CommentsAuthor.tag (.../CommentsAuthor.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -1,7 +1,7 @@ <%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-html" prefix="html"%> <%@ taglib uri="tags-fmt" prefix="fmt"%> <%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> <%@ attribute name="allowCommentsVariableName" required="false" rtexprvalue="true"%> <%@ attribute name="allowCommentLabelKey" required="false" rtexprvalue="true"%> @@ -42,23 +42,23 @@
-     -   +     +  
Index: lams_tool_laqa/web/WEB-INF/tags/Page.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -4,6 +4,7 @@ <%@ taglib uri="tags-lams" prefix="lams"%> <%@ attribute name="type" required="true" rtexprvalue="true"%> +<%@ attribute name="formID" required="false" rtexprvalue="true"%> <%@ attribute name="style" required="false" rtexprvalue="true"%> <%@ attribute name="title" required="false" rtexprvalue="true"%> <%@ attribute name="titleHelpURL" required="false" rtexprvalue="true"%> @@ -88,8 +89,8 @@ - - + + ${toolForm.toolSessionID} Index: lams_tool_laqa/web/WEB-INF/tags/Rating.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/Rating.tag (.../Rating.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/Rating.tag (.../Rating.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -8,7 +8,6 @@ <%@ tag body-content="scriptless" %> <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> -<%@ taglib uri="tags-html" prefix="html" %> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-function" prefix="fn" %> Index: lams_tool_laqa/web/WEB-INF/tags/StyledRating.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/StyledRating.tag (.../StyledRating.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/StyledRating.tag (.../StyledRating.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -8,7 +8,6 @@ <%@ tag body-content="scriptless" %> <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-fmt" prefix="fmt" %> -<%@ taglib uri="tags-html" prefix="html" %> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-function" prefix="fn" %> Index: lams_tool_laqa/web/WEB-INF/tags/TabBody.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -34,7 +34,6 @@ <%@ attribute name="titleKey" required="false" rtexprvalue="true"%> <%@ attribute name="page" required="false" rtexprvalue="true"%> <%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-bean" prefix="bean"%> Index: lams_tool_laqa/web/WEB-INF/tags/TabBodyArea.tag =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/WEB-INF/tags/TabBodyArea.tag (.../TabBodyArea.tag) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/WEB-INF/tags/TabBodyArea.tag (.../TabBodyArea.tag) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -30,7 +30,6 @@ %> <%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-bean" prefix="bean"%>
Index: lams_tool_laqa/web/authoring/addCondition.jsp =================================================================== diff -u -r5f5d164117e56516c294f276bbaa4a33e2108372 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/authoring/addCondition.jsp (.../addCondition.jsp) (revision 5f5d164117e56516c294f276bbaa4a33e2108372) +++ lams_tool_laqa/web/authoring/addCondition.jsp (.../addCondition.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -19,7 +19,7 @@
<%-- Text search form fields are being included --%> - +

Index: lams_tool_laqa/web/authoring/conditions.jsp =================================================================== diff -u -r5f5d164117e56516c294f276bbaa4a33e2108372 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/authoring/conditions.jsp (.../conditions.jsp) (revision 5f5d164117e56516c294f276bbaa4a33e2108372) +++ lams_tool_laqa/web/authoring/conditions.jsp (.../conditions.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -48,12 +48,12 @@
- + <%@ include file="/authoring/conditionList.jsp"%>
-  
Index: lams_tool_laqa/web/authoring/itemlist.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/authoring/itemlist.jsp (.../itemlist.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/authoring/itemlist.jsp (.../itemlist.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -1,5 +1,4 @@ <%@ include file="/common/taglibs.jsp"%> -
Index: lams_tool_laqa/web/common/messages.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/common/messages.jsp (.../messages.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/common/messages.jsp (.../messages.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -11,7 +11,7 @@ <%-- Success Messages --%> - +
Index: lams_tool_laqa/web/learning/Notebook.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/learning/Notebook.jsp (.../Notebook.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/learning/Notebook.jsp (.../Notebook.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -17,21 +17,21 @@ - + - - - - - + + + + +

- +
@@ -434,10 +434,10 @@ - - + @@ -465,13 +465,13 @@ - - - - - - - + + + + + + + Index: lams_tool_laqa/web/learning/SequentialAnswersContent.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/learning/SequentialAnswersContent.jsp (.../SequentialAnswersContent.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/learning/SequentialAnswersContent.jsp (.../SequentialAnswersContent.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -1,6 +1,3 @@ -<%@ taglib uri="tags-bean" prefix="bean"%> -<%@ taglib uri="tags-html" prefix="html"%> -<%@ taglib uri="tags-logic" prefix="logic"%> <%@ taglib uri="tags-core" prefix="c"%> <%@ taglib uri="tags-fmt" prefix="fmt"%> <%@ taglib uri="tags-lams" prefix="lams"%> @@ -56,7 +53,7 @@ - + Index: lams_tool_laqa/web/learning/submissionDeadline.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/learning/submissionDeadline.jsp (.../submissionDeadline.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/learning/submissionDeadline.jsp (.../submissionDeadline.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -32,12 +32,12 @@ - - - - - - + + + + + + @@ -51,8 +51,8 @@ - + Index: lams_tool_laqa/web/monitoring/Edit.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/monitoring/Edit.jsp (.../Edit.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/monitoring/Edit.jsp (.../Edit.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -1,6 +1,5 @@ <%@ include file="/common/taglibs.jsp"%> -
@@ -22,11 +21,11 @@
- + - - + + - + - \ No newline at end of file + \ No newline at end of file Index: lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r658034e7f07579dd682db62112b9353b3a0d3f65 --- lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp (.../MonitoringMaincontent.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp (.../MonitoringMaincontent.jsp) (revision 658034e7f07579dd682db62112b9353b3a0d3f65) @@ -11,7 +11,7 @@ - + @@ -23,7 +23,7 @@ - +