Changeset 1216


Ignore:
Timestamp:
Nov 30, 2010, 9:37:37 AM (6 years ago)
Author:
t.w.abma@…
Message:
  • step 3 (mapping properties) added simple error message telling what went wrong
Location:
trunk/grails-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1215 r1216  
    204204            else
    205205        if (invalidentities)
    206             render(view:"step3_simple", model:[datamatrix:session.importer_importeddata, failedcells:session.importer_failedcells])
     206            render(view:"step3_simple", model:[datamatrix:session.importer_importeddata, failedcells:session.importer_failedcells, invalidentities:invalidentities])
    207207        else
    208208            render(view:"step3", model:[datamatrix:session.importer_importeddata])
  • trunk/grails-app/views/importer/common/_missingproperties.gsp

    r1215 r1216  
    6464</script>
    6565
     66<g:if test="${invalidentities}">
     67  <p><b>There are ${invalidentities} entities which could not be validated, they are indicated by a red color, please correct them before continuing.</b></p>
     68</g:if>
     69
    6670<div class="wizard" id="wizard">
    6771<g:form name="missingpropertiesform" id="missingpropertiesform" action="saveMissingProperties">
Note: See TracChangeset for help on using the changeset viewer.