Changeset 489 for trunk/grails-app/views
- Timestamp:
- May 27, 2010, 4:26:44 PM (13 years ago)
- Location:
- trunk/grails-app/views/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/importer/common/_properties.gsp
r485 r489 16 16 <p><g:select name="study.id" from="${dbnp.studycapturing.Study.list()}" optionKey="id" class="selectsmall"/></p> 17 17 <table> 18 <g:each var="stdentity" in ="${standardentities}"> 19 <% if (selectedentities.any { it.name == stdentity.value.name } && stdentity.value.name!="") { %> 18 <g:each var="stdentity" in ="${standardentities}"> 19 20 <% if (selectedentities.any { it.name.toLowerCase() == stdentity.value.name.toLowerCase() } && stdentity.value.name!="") { %> 20 21 <tr><td colspan="2"><h4>${stdentity.value.name}</h4></td></tr> 21 22 <tr> … … 24 25 </tr> 25 26 <g:each var="selentity" in="${selectedentities}"> 26 <g:if test="${selentity.name==stdentity.value.name}"> 27 28 <g:if test="${selentity.name.toLowerCase()==stdentity.value.name.toLowerCase()}"> 27 29 <tr> 28 30 <td class="header" width="200px"> 29 31 <b>${header[selentity.columnindex.toInteger()].name}</b> 30 32 </td> 31 <td> 32 <importer:propertyChooser name="columnproperty" mappingcolumn="${header[selentity.columnindex.toInteger()]}" />33 <td> 34 <importer:propertyChooser name="columnproperty" mappingcolumn="${header[selentity.columnindex.toInteger()]}" allfieldtypes="${allfieldtypes}"/> 33 35 </td> 34 36 </tr> -
trunk/grails-app/views/importer/step2_simple.gsp
r485 r489 27 27 <p>The next step is to assign properties to the columns. Below you see the columns, please assign every column to 28 28 a property.</p> 29 <importer:properties entities="${entities}" header="${header}" templates="${templates}" />29 <importer:properties entities="${entities}" header="${header}" templates="${templates}" allfieldtypes="true"/> 30 30 </body> 31 31 </html>
Note: See TracChangeset
for help on using the changeset viewer.