Details
-
New Feature
-
Status: Closed
-
Could
-
Resolution: Fixed
-
OpenMRS 1.9.3
-
None
-
Low
Description
Create custom tag to render binding errors and refactor all JSP fragments like this:
<spring:hasBindErrors name="user"> <openmrs:message code="fix.error"/> <div class="error"> <c:forEach items="${errors.allErrors}" var="error"> <openmrs:message code="${error.code}" text="${error.code}"/><br/><!-- ${error} --> </c:forEach> </div> <br /> </spring:hasBindErrors>