Last change
on this file since 1277 was
1277,
checked in by t.w.abma@…, 10 years ago
|
- rewrite of the Importer Wizard into an Ajaxflow
|
File size:
1.3 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 | <af:page> |
---|
15 | <h1>Final Page</h1> |
---|
16 | <p> |
---|
17 | This concludes the example wizard. You can click <g:link action="index">here</g:link> to restart the wizard. |
---|
18 | </p> |
---|
19 | |
---|
20 | ${importer_validatedsuccesfully} of ${importer_totalrows} rows were imported succesfully. |
---|
21 | |
---|
22 | <g:if test="${importer_failedtopersist}"> |
---|
23 | <p>The following entities could not be persisted:</p> |
---|
24 | <table> |
---|
25 | <g:each var="entity" in="${importer_failedtopersist}"> |
---|
26 | <tr> |
---|
27 | <g:each var="field" in="${entity.giveFields()}"> |
---|
28 | <td> |
---|
29 | <g:if test="${entity.getFieldValue(field.name)!=null}"> |
---|
30 | <b>${field.name}</b> ${entity.getFieldValue(field.name)} |
---|
31 | </g:if> |
---|
32 | <g:else><b>${field.name}</b> × |
---|
33 | </g:else> |
---|
34 | </td> |
---|
35 | </g:each> |
---|
36 | <td> |
---|
37 | <g:each var="error" in="${entity.errors.allErrors}"> |
---|
38 | <b>error</b>: field `${error.getField()}` rejected value: ${error.getRejectedValue()}</b> |
---|
39 | </g:each> |
---|
40 | </td> |
---|
41 | </tr> |
---|
42 | </g:each> |
---|
43 | </table> |
---|
44 | </g:if> |
---|
45 | |
---|
46 | |
---|
47 | <g:if test="${importer_referer}"> |
---|
48 | <p>Click <a href="${importer_referer}">here</a> to return to the page you came from.</p> |
---|
49 | </g:if> |
---|
50 | </af:page> |
---|
Note: See
TracBrowser
for help on using the repository browser.