Ignore:
Timestamp:
Nov 4, 2010, 4:49:53 PM (10 years ago)
Author:
t.w.abma@…
Message:
  • added logic for cleaning up 'failed cells' in the imported datamatrix
Location:
trunk/grails-app/views/importer
Files:
2 edited

Legend:

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

    r1070 r1083  
    2828<table>
    2929  <tr>
    30     <td>Column</td><td>Row</td><td>Ontology unknown</td><td>Corrected ontology</td>
     30    <th>Column</th><th>Row</th><th>Unknown ontology found</th><th>Corrected ontology</th>
    3131  </tr>
    32 <g:form>
     32<g:form name="failedcellsform" action="saveCorrectedCells">
    3333        <g:each var="record" in="${failedcells}">
    3434          <tr>
    3535            <td>${record.key.name}</td>
    36             <td>${record.value.rownum}</td>
    37             <td>${record.value.value}</td>
     36            <td>${record.value.getRowIndex()}</td>
     37            <td>${record.value}</td>
    3838            <td>
    39                 <input type="text" name="cell${record.value.rownum}" rel="ontology-all-name"/><br/>
    40                 <input type="hidden" name="cell${record.value.rownum}-concept_id" /><br/>
    41                 <input type="hidden" name="cell${record.value.rownum}-ontology_id" /><br/>
    42                 <input type="hidden" name="cell${record.value.rownum}-full_id" /><br/>
     39                <input type="text" name="cell.index.${record.value.hashCode()}" rel="ontology-all-name"/>
     40                <!-- <input type="hidden" name="cell.index.${record.value}-concept_id"/>
     41                <input type="hidden" name="cell.index.${record.value}-ontology_id"/>
     42                <input type="hidden" name="cell.index.${record.value}-full_id"/> -->
    4343            </td>
    4444          </tr>
  • trunk/grails-app/views/importer/step2a_simple.gsp

    r1058 r1083  
    2020    <meta name="layout" content="main"/>
    2121    <link rel="stylesheet" href="${resource(dir: 'css', file: 'importer.css')}"/>
    22     <title>Step 2a: values which could not be determined</title>
     22    <title>Step 2a: ontologies which could not be determined</title>
    2323  </head>
    2424  <body>
    25     <h1>Step 2a: values which could not be determined</h1>
    26     <p>The next step is to adjust values which could not be determined.</p>
     25    <h1>Step 2a: ontologies which could not be determined</h1>
     26    <p>The next step is to correct ontologies which could not be determined.</p>
    2727  <importer:failedCells failedcells="${failedcells}" />
    2828  </body>
Note: See TracChangeset for help on using the changeset viewer.