source: trunk/grails-app/views/importer/pages/_final_page.gsp @ 1394

Last change on this file since 1394 was 1394, checked in by t.w.abma@…, 10 years ago
  • added JS variable te get rid of warning when wanting to leave the page when finished the importer wizard
File size: 1.4 KB
Line 
1<%
2/**
3 * last wizard page / tab
4 *
5 * @author Jeroen Wesbeek
6 * @since  20101206
7 *
8 * Revision information:
9 * $Rev$
10 * $Author$
11 * $Date$
12 */
13%>
14<script type="text/javascript">
15                // disable redirect warning
16                var warnOnRedirect = false;
17</script>
18
19<af:page>
20<h1>Final Page</h1>
21<p>
22This concludes the example wizard. You can click <g:link action="index">here</g:link> to restart the wizard.
23</p>
24
25${importer_validatedsuccesfully} of ${importer_totalrows} rows were imported succesfully.
26
27    <g:if test="${importer_failedtopersist}">
28      <p>The following entities could not be persisted:</p>
29      <table>
30      <g:each var="entity" in="${importer_failedtopersist}">
31        <tr>
32        <g:each var="field" in="${entity.giveFields()}">
33          <td>
34            <g:if test="${entity.getFieldValue(field.name)!=null}">
35              <b>${field.name}</b> ${entity.getFieldValue(field.name)}
36            </g:if>
37           <g:else><b>${field.name}</b> &#215;
38            </g:else>
39          </td>
40        </g:each>
41        <td>
42           <g:each var="error" in="${entity.errors.allErrors}">
43             <b>error</b>: field `${error.getField()}` rejected value: ${error.getRejectedValue()}</b>
44        </g:each>
45        </td>
46      </tr>
47      </g:each>
48      </table>
49    </g:if>
50
51    <g:if test="${importer_referer}">
52      <p>Click <a href="${importer_referer}">here</a> to return to the page you came from.</p>
53    </g:if>
54</af:page>
Note: See TracBrowser for help on using the repository browser.