Last change
on this file since 323 was
322,
checked in by tabma, 13 years ago
|
- highlight columns which are null (unused fields and/or values could not be stored in the record because of type mismatch)
|
-
Property svn:keywords set to
Date Rev Author
|
File size:
963 bytes
|
Line | |
---|
1 | <% |
---|
2 | /** |
---|
3 | * Postview template which will display how the data was imported |
---|
4 | * |
---|
5 | * @author Tjeerd Abma |
---|
6 | * @since 20100317 |
---|
7 | * @package importer |
---|
8 | * |
---|
9 | * Revision information: |
---|
10 | * $Rev: 322 $ |
---|
11 | * $Author: duh $ |
---|
12 | * $Date: 2010-03-31 13:51:25 +0000 (wo, 31 mrt 2010) $ |
---|
13 | */ |
---|
14 | %> |
---|
15 | <g:form name="postviewform" action="savepostview"> |
---|
16 | <table> |
---|
17 | <tr> |
---|
18 | <g:each var="table" in="${datamatrix}"> |
---|
19 | <g:each var="entity" in="${table}"> |
---|
20 | <tr> |
---|
21 | <g:each var="field" in="${entity.giveFields()}"> |
---|
22 | <g:if test="${entity.getFieldValue(field.name)!=null}"> |
---|
23 | <td class="header"> |
---|
24 | <b>${field.name}</b> |
---|
25 | ${entity.getFieldValue(field.name)} |
---|
26 | </td> |
---|
27 | </g:if> |
---|
28 | <g:else> |
---|
29 | <td class="valueundefined" > |
---|
30 | <b>${field.name}</b> |
---|
31 | × |
---|
32 | </td> |
---|
33 | </g:else> |
---|
34 | </g:each> |
---|
35 | </tr> |
---|
36 | </g:each> |
---|
37 | </g:each> |
---|
38 | </tr> |
---|
39 | </table> |
---|
40 | <table> |
---|
41 | <tr> |
---|
42 | <td colspan=""> |
---|
43 | <input type="submit" value="This is OK, store the imported data"> |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | </table> |
---|
47 | </g:form> |
---|
Note: See
TracBrowser
for help on using the repository browser.