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$ |
---|
11 | * $Author$ |
---|
12 | * $Date$ |
---|
13 | */ |
---|
14 | %> |
---|
15 | <g:form name="propertiesform" action="saveproperties"> |
---|
16 | <table> |
---|
17 | <g:each var="stdentity" in ="${standardentities}"> |
---|
18 | <tr><td colspan="2"><h4>${stdentity.name}</h4></td></tr> |
---|
19 | <tr> |
---|
20 | <td>Columnname:</td><td>Property:</td> |
---|
21 | </tr> |
---|
22 | <g:each var="selentity" in="${selectedentities}"> |
---|
23 | <g:if test="${selentity.type.toLong()==stdentity.type}"> |
---|
24 | <tr> |
---|
25 | <td class="header" width="200px"> |
---|
26 | <b>${header[selentity.columnindex.toInteger()].name}</b> |
---|
27 | </td> |
---|
28 | <td> |
---|
29 | <importer:propertyChooser name="columnproperty" entity="${selentity.type.toLong()}" columnindex="${selentity.columnindex}"/> |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | </g:if> |
---|
33 | </g:each> |
---|
34 | <tr> |
---|
35 | <td colspan="2"> |
---|
36 | <hr /> |
---|
37 | </td> |
---|
38 | </tr> |
---|
39 | </g:each> |
---|
40 | <tr> |
---|
41 | <td> |
---|
42 | <input type="submit" name="savebutton" value="Next"/> |
---|
43 | </td> |
---|
44 | </tr> |
---|
45 | |
---|
46 | </table> |
---|
47 | </g:form> |
---|
Note: See
TracBrowser
for help on using the repository browser.