Ignore:
Timestamp:
Nov 11, 2010, 2:29:16 PM (11 years ago)
Author:
t.w.abma@…
Message:
  • rewrote part of the importer and added a ImportRecord? and ImportCell? domain
  • ontologies should now always be shown individually
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/common/_failedcells.gsp

    r1103 r1121  
    3131  </tr>
    3232<g:form name="failedcellsform" action="saveCorrectedCells">
    33         <g:each var="record" in="${failedcells}">
    34           <g:each var="list" in="${record}">
    35             <g:each var="cell" in="${list}">
     33        <g:each var="item" in="${failedcells}"> <!-- [recordhash, importrecord] -->
     34          <g:each var="cell" in="${item.value.importcells}">
    3635            <tr>
    37               <td>${cell.value.name}</td>
     36              <td>${cell.mappingcolumn.name}</td>
    3837              <td>-</td>
    39               <td>${cell.value.value}</td>
     38              <td>${cell}</td>
    4039              <td>
    41                   <input type="text" name="cell.index.${cell.hashCode()}" rel="ontology-all-name"/>
    42                   <!-- <input type="hidden" name="cell.index.${cell.value}-concept_id"/>
    43                   <input type="hidden" name="cell.index.${cell.value}-ontology_id"/>
    44                   <input type="hidden" name="cell.index.${cell.value}-full_id"/> -->
     40                  <input type="text" name="cell.index.${cell.getIdentifier()}" rel="ontology-all-name"/>
     41                  <!-- <input type="hidden" name="cell.index.${cell}-concept_id"/>
     42                  <input type="hidden" name="cell.index.${cell}-ontology_id"/>
     43                  <input type="hidden" name="cell.index.${cell}-full_id"/> -->
    4544              </td>
    46             </tr>
    47             </g:each>
     45            </tr>           
    4846          </g:each>
    4947        </g:each>
Note: See TracChangeset for help on using the changeset viewer.