Ignore:
Timestamp:
Nov 30, 2010, 3:56:07 PM (10 years ago)
Author:
t.w.abma@…
Message:
  • improved error messaging in the last step of the wizard
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/step4.gsp

    r1207 r1223  
    3131      <p>The following entities could not be persisted:</p>
    3232      <table>     
    33       <g:each var="entity" in="${failedtopersist}">
     33      <g:each var="entity" in="${failedtopersist}">       
    3434        <tr>
    3535        <g:each var="field" in="${entity.giveFields()}">
     
    4242          </td>
    4343        </g:each>
     44        <td>
     45           <g:each var="error" in="${entity.errors.allErrors}">
     46             <b>error</b>: field `${error.getField()}` rejected value: ${error.getRejectedValue()}</b>
     47        </g:each>
     48        </td>
    4449      </tr>
    4550      </g:each>
Note: See TracChangeset for help on using the changeset viewer.