Last change
on this file since 492 was
492,
checked in by tabma, 13 years ago
|
- properties in simple import wizard now shows all template fields
- moved study chooser in advanced wizard to first page
|
-
Property svn:keywords set to
Date Author Rev
|
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: 492 $ |
---|
11 | * $Author: tabma $ |
---|
12 | * $Date: 2010-05-28 09:08:19 +0000 (vr, 28 mei 2010) $ |
---|
13 | */ |
---|
14 | %> |
---|
15 | <g:form name="propertiesform" action="saveproperties"> |
---|
16 | <table> |
---|
17 | <g:each var="stdentity" in ="${standardentities}"> |
---|
18 | |
---|
19 | <% if (selectedentities.any { it.name.toLowerCase() == stdentity.value.name.toLowerCase() } && stdentity.value.name!="") { %> |
---|
20 | <tr><td colspan="2"><h4>${stdentity.value.name}</h4></td></tr> |
---|
21 | <tr> |
---|
22 | <td>Columnname:</td> |
---|
23 | <td>Property:</td> |
---|
24 | </tr> |
---|
25 | <g:each var="selentity" in="${selectedentities}"> |
---|
26 | |
---|
27 | <g:if test="${selentity.name.toLowerCase()==stdentity.value.name.toLowerCase()}"> |
---|
28 | <tr> |
---|
29 | <td class="header" width="200px"> |
---|
30 | <b>${header[selentity.columnindex.toInteger()].name}</b> |
---|
31 | </td> |
---|
32 | <td> |
---|
33 | <importer:propertyChooser name="columnproperty" mappingcolumn="${header[selentity.columnindex.toInteger()]}" allfieldtypes="${allfieldtypes}"/> |
---|
34 | </td> |
---|
35 | </tr> |
---|
36 | </g:if> |
---|
37 | </g:each> |
---|
38 | <tr> |
---|
39 | <td colspan="2"> |
---|
40 | <hr /> |
---|
41 | </td> |
---|
42 | </tr> |
---|
43 | <% } %> <!-- end of JSP if--> |
---|
44 | </g:each> |
---|
45 | <tr> |
---|
46 | <td> |
---|
47 | <input type="submit" name="savebutton" value="Next"/> |
---|
48 | </td> |
---|
49 | </tr> |
---|
50 | |
---|
51 | </table> |
---|
52 | </g:form> |
---|
Note: See
TracBrowser
for help on using the repository browser.