Index: lams_central/src/java/org/lamsfoundation/lams/web/PasswordChangeController.java =================================================================== diff -u -ra127989b08183726fcbb9956721eff6553c4a0eb -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/src/java/org/lamsfoundation/lams/web/PasswordChangeController.java (.../PasswordChangeController.java) (revision a127989b08183726fcbb9956721eff6553c4a0eb) +++ lams_central/src/java/org/lamsfoundation/lams/web/PasswordChangeController.java (.../PasswordChangeController.java) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -143,9 +143,7 @@ // -- Report any errors if (!errorMap.isEmpty()) { request.setAttribute("errorMap", errorMap); - passwordChangeForm.reset(request); - request.setAttribute("redirect", "password"); - return "redirect:/index.do"; + return "passwordChangeContent"; } request.setAttribute("redirectURL", passwordChangeForm.getRedirectURL()); return "/passwordChangeOkContent"; Index: lams_central/web/WEB-INF/tags/Errors.tag =================================================================== diff -u --- lams_central/web/WEB-INF/tags/Errors.tag (revision 0) +++ lams_central/web/WEB-INF/tags/Errors.tag (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -0,0 +1,47 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ attribute name="showAll" required="false" rtexprvalue="true"%> +<%@ attribute name="errorKey" required="false" rtexprvalue="true"%> + +<%-- To show the GLOBAL messages (default case) use no parameters --%> +<%-- To show the all messages, ignoring their keys (e.g. Change Password) use showAll="true" --%> +<%-- To show the messages for a particular key use errorKey="theKey" --%> + +<%-- Show All Messages --%> + + + + + + + + + + + + + +<%-- Show messages for a particular key --%> + + + + + + + + + + +<%-- Show Messages for GLOBAL. Usual alert box --%> + + + + + + + + + + + Index: lams_central/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -r4a0345ec36518827a51d1ccc517912f72e5b1ee0 -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 4a0345ec36518827a51d1ccc517912f72e5b1ee0) +++ lams_central/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -344,6 +344,10 @@ OutcomeAuthor /WEB-INF/tags/OutcomeAuthor.tag + + Errors + /WEB-INF/tags/Errors.tag + textarea org.lamsfoundation.lams.web.tag.LAMSMultiLinesTextareaTag Index: lams_central/web/emailuser.jsp =================================================================== diff -u -ra87fc96c97da931cd385ab998a421b5a3d2b4e90 -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/emailuser.jsp (.../emailuser.jsp) (revision a87fc96c97da931cd385ab998a421b5a3d2b4e90) +++ lams_central/web/emailuser.jsp (.../emailuser.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -91,14 +91,7 @@ - - - - - - - - + Index: lams_central/web/indexLessonConditions.jsp =================================================================== diff -u -rb7aef118db71bf93f74bf91c76fbd4e59de37dff -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/indexLessonConditions.jsp (.../indexLessonConditions.jsp) (revision b7aef118db71bf93f74bf91c76fbd4e59de37dff) +++ lams_central/web/indexLessonConditions.jsp (.../indexLessonConditions.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -46,14 +46,7 @@ - - - - - - - - + Index: lams_central/web/outcome/outcomeEdit.jsp =================================================================== diff -u -r62aaf160878735888d077bf28fac3c1989bb8fbd -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/outcome/outcomeEdit.jsp (.../outcomeEdit.jsp) (revision 62aaf160878735888d077bf28fac3c1989bb8fbd) +++ lams_central/web/outcome/outcomeEdit.jsp (.../outcomeEdit.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -61,15 +61,8 @@ class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3"> - <%-- Error Messages --%> - - - - - - - - + + : Index: lams_central/web/outcome/scaleEdit.jsp =================================================================== diff -u -r62aaf160878735888d077bf28fac3c1989bb8fbd -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/outcome/scaleEdit.jsp (.../scaleEdit.jsp) (revision 62aaf160878735888d077bf28fac3c1989bb8fbd) +++ lams_central/web/outcome/scaleEdit.jsp (.../scaleEdit.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -47,15 +47,8 @@ class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3"> - <%-- Error Messages --%> - - - - - - - - + + : Index: lams_central/web/outcome/scaleManage.jsp =================================================================== diff -u -r62aaf160878735888d077bf28fac3c1989bb8fbd -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/outcome/scaleManage.jsp (.../scaleManage.jsp) (revision 62aaf160878735888d077bf28fac3c1989bb8fbd) +++ lams_central/web/outcome/scaleManage.jsp (.../scaleManage.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -34,15 +34,9 @@ - - - - - - - - - + + + Index: lams_central/web/passwordChangeContent.jsp =================================================================== diff -u -r88c8fa0dba475bf3ffa351ec1e6d889481e4dcbb -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/passwordChangeContent.jsp (.../passwordChangeContent.jsp) (revision 88c8fa0dba475bf3ffa351ec1e6d889481e4dcbb) +++ lams_central/web/passwordChangeContent.jsp (.../passwordChangeContent.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -101,39 +101,15 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + : - " name="oldPassword" id="oldPassword"/> + + " name="oldPassword" id="oldPassword"/> @@ -157,8 +133,8 @@ - - + + Index: lams_central/web/profile/editprofile.jsp =================================================================== diff -u -r631c7dc064ad1df75c61609936bca046eea36e4a -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/profile/editprofile.jsp (.../editprofile.jsp) (revision 631c7dc064ad1df75c61609936bca046eea36e4a) +++ lams_central/web/profile/editprofile.jsp (.../editprofile.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -56,14 +56,7 @@ - - - - - - - - + <%=Configuration.get(ConfigurationKeys.PROFILE_EDIT_ENABLE)%> <%=Configuration.get(ConfigurationKeys.PROFILE_PARTIAL_EDIT_ENABLE)%> Index: lams_central/web/questions/questionFile.jsp =================================================================== diff -u -r5943e05705f7614c7c1c29d13ce50deacdc46cc0 -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/questions/questionFile.jsp (.../questionFile.jsp) (revision 5943e05705f7614c7c1c29d13ce50deacdc46cc0) +++ lams_central/web/questions/questionFile.jsp (.../questionFile.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -58,15 +58,7 @@ - - - - - - - - - +
Index: lams_central/web/outcome/outcomeEdit.jsp =================================================================== diff -u -r62aaf160878735888d077bf28fac3c1989bb8fbd -r71809a5526cd51317de36a6aeb03235579a446a5 --- lams_central/web/outcome/outcomeEdit.jsp (.../outcomeEdit.jsp) (revision 62aaf160878735888d077bf28fac3c1989bb8fbd) +++ lams_central/web/outcome/outcomeEdit.jsp (.../outcomeEdit.jsp) (revision 71809a5526cd51317de36a6aeb03235579a446a5) @@ -61,15 +61,8 @@ class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
- - - -