Last change
on this file since 305 was
305,
checked in by tabma, 11 years ago
|
- templatefieldtypes chosen in the preview page are used as a filter for the properties page (so only matches between the columns/properties can be made if they are of the equal templatefieldtype)
- columns in the preview which are not imported and/or entities which are not used are not shown anymore in the properties-assignment step in the wizard
|
-
Property svn:keywords set to
Date Rev Author
|
File size:
1.3 KB
|
Line | |
---|
1 | <% |
---|
2 | /** |
---|
3 | * Properties template which shows entities and allows to assign properties to columns |
---|
4 | * |
---|
5 | * @author Tjeerd Abma |
---|
6 | * @since 20100210 |
---|
7 | * @package importer |
---|
8 | * |
---|
9 | * Revision information: |
---|
10 | * $Rev: 305 $ |
---|
11 | * $Author: tabma $ |
---|
12 | * $Date: 2010-03-23 12:57:18 +0000 (di, 23 mrt 2010) $ |
---|
13 | */ |
---|
14 | %> |
---|
15 | <g:form name="propertiesform" action="saveproperties"> |
---|
16 | <table> |
---|
17 | <g:each var="stdentity" in ="${standardentities}"> |
---|
18 | <% if (selectedentities.any { it.type.toInteger() ==stdentity.type.toInteger()} && stdentity.type.toInteger()!=-1) { %> |
---|
19 | <tr><td colspan="2"><h4>${stdentity.name}</h4></td></tr> |
---|
20 | <tr> |
---|
21 | <td>Identifier:</td> |
---|
22 | <td>Columnname:</td> |
---|
23 | <td>Property:</td> |
---|
24 | </tr> |
---|
25 | <g:each var="selentity" in="${selectedentities}"> |
---|
26 | <g:if test="${selentity.type.toLong()==stdentity.type}"> |
---|
27 | <tr> |
---|
28 | <td width="12px"> |
---|
29 | <g:checkBox name="identifier"/> |
---|
30 | </td> |
---|
31 | <td class="header" width="200px"> |
---|
32 | <b>${header[selentity.columnindex.toInteger()].name}</b> |
---|
33 | </td> |
---|
34 | <td> |
---|
35 | <importer:propertyChooser name="columnproperty" mappingcolumn="${header[selentity.columnindex.toInteger()]}"/> |
---|
36 | </td> |
---|
37 | </tr> |
---|
38 | </g:if> |
---|
39 | </g:each> |
---|
40 | <tr> |
---|
41 | <td colspan="2"> |
---|
42 | <hr /> |
---|
43 | </td> |
---|
44 | </tr> |
---|
45 | <% } %> <!-- end of JSP if--> |
---|
46 | </g:each> |
---|
47 | <tr> |
---|
48 | <td> |
---|
49 | <input type="submit" name="savebutton" value="Next"/> |
---|
50 | </td> |
---|
51 | </tr> |
---|
52 | |
---|
53 | </table> |
---|
54 | </g:form> |
---|
Note: See
TracBrowser
for help on using the repository browser.