Ignore:
Timestamp:
Feb 3, 2011, 5:07:42 PM (10 years ago)
Author:
t.w.abma@…
Message:
  • improved missing values in stringlist fields, still to fix: make cell identifier really unique
Location:
trunk/grails-app/views/importer
Files:
4 edited

Legend:

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

    r1467 r1489  
    1818        <g:each in="${importer_failedcells}" var="record">
    1919          <g:each in="${record.importcells}" var="cell">
    20           var element = $("select[name=entity_${cell.entityidentifier}_${cell.mappingcolumn.property}]");
     20          var element = $("select[name=entity_${cell.entityidentifier}_${cell.mappingcolumn.property.toLowerCase()}]");
    2121
    2222          element.addClass('error')
  • trunk/grails-app/views/importer/common/_on_page.gsp

    r1486 r1489  
    9393                // handle template selects
    9494                new SelectAddMore().init({
    95                         rel      : 'typetemplate',
     95                        rel      : 'template',
    9696                        url      : baseUrl + '/templateEditor',
    9797                        vars    : 'entity', // can be a comma separated list of variable names to pass on
     
    9999                        style   : 'modify',
    100100                        onClose : function(scope) {
    101                                 location.reload();
     101                                refreshFlow()
    102102                        }
    103103                });
  • trunk/grails-app/views/importer/index.gsp

    r1486 r1489  
    2828        <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js', plugin: 'gdt')}"></script>
    2929        <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js', plugin: 'gdt')}"></script>
    30         <script type="text/javascript" src="${resource(dir: 'js', file: 'importer.js')}"></script>
    3130        <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script>
    3231        </g:if><g:else>
     
    3635        <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.js', plugin: 'gdt')}"></script>
    3736        <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js', plugin: 'gdt')}"></script>
    38         <script type="text/javascript" src="${resource(dir: 'js', file: 'importer.js')}"></script>
    3937        <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script>
    4038        </g:else>
  • trunk/grails-app/views/importer/pages/_page_one.gsp

    r1470 r1489  
    8282            </td>
    8383            <td>
    84                 <g:select rel="typetemplate" entity="none" name="template_id" optionKey="id" optionValue="name" from="[]" value="${importer_params?.template_id}"/>
     84                <g:select rel="template" entity="none" name="template_id" optionKey="id" optionValue="name" from="[]" value="${importer_params?.template_id}"/>
    8585            </td>
    8686        </tr>
Note: See TracChangeset for help on using the changeset viewer.