Ignore:
Timestamp:
May 28, 2010, 11:08:19 AM (11 years ago)
Author:
tabma
Message:
  • properties in simple import wizard now shows all template fields
  • moved study chooser in advanced wizard to first page
File:
1 edited

Legend:

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

    r489 r492  
    5757        def entities = attrs['entities']
    5858        def allfieldtypes = (attrs['allfieldtypes']==null) ? "false" : "true"
    59         println attrs['allfieldtypes']
     59       
    6060
    6161        out << render ( template:"common/properties",
     
    8484        def allfieldtypes = attrs['allfieldtypes']
    8585
    86         def templatefields = (allfieldtypes=="true") ? t.fields.list() : t.fields.findAll { it.type == mc.templatefieldtype }
     86        def templatefields = (allfieldtypes=="true") ? t.fields : t.fields.findAll { it.type == mc.templatefieldtype }
    8787
    8888        (mc.identifier) ? out << "<select style=\"font-size:10px\" name=\"\" disabled><option>Identifier</option></select>":
Note: See TracChangeset for help on using the changeset viewer.