Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3882

Custom tag to render errors

    XMLWordPrintable

Details

    • 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>
      

      Gliffy Diagrams

        Attachments

          Activity

            People

              jkondrat Jakub Kondrat
              lluismf Lluis Martinez
              Rafal Korytkowski Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 1 hour
                  2h