Ignore:
Timestamp:
Mar 31, 2010, 2:02:35 PM (11 years ago)
Author:
tabma
Message:
  • identifying columns get stored using 'name' attribute of entities as identifier
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/taglib/dbnp/importer/ImporterTagLib.groovy

    r305 r321  
    8686        def t = Template.get(session.importtemplate_id)
    8787        def mc = attrs['mappingcolumn']
    88        
    89         out << createPropertySelect(attrs['name'], t.fields.findAll { it.type == mc.templatefieldtype }, mc.index)
     88
     89        (mc.identifier) ? out << "<select style=\"font-size:10px\" name=\"\" disabled><option>Identifier</option></select>":
     90            out << createPropertySelect(attrs['name'], t.fields.findAll { it.type == mc.templatefieldtype }, mc.index)
    9091    }
    9192
Note: See TracChangeset for help on using the changeset viewer.