Ignore:
Timestamp:
Jan 26, 2011, 9:47:40 PM (10 years ago)
Author:
work@…
Message:
  • refactored the importer to use the dynamic entities of gdt, instead of the hardcoded entities in Config.groovy
  • removed the hardcoded 'importable entities' from Config.groovy
  • added xbean.jar which seems to be required for the importer to be able to import xml
  • updated gdt to 0.0.5 which is required by the refactored importer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/pages/_page_one.gsp

    r1430 r1443  
     1<%@ page import="nl.grails.plugins.gdt.GdtService" %>
    12<%
    23/**
     
    6566                name="entity"
    6667                id="entity"
    67                 from="${importer_importableentities}"
    68                 optionValue="${{it.value.name}}"
    69                 optionKey="${{it.value.encrypted}}"
     68                from="${GdtService.cachedEntities}"
     69                optionValue="${{it.name}}"
     70                optionKey="${{it.encoded}}"
    7071                noSelection="['':'-Choose type of data-']"
    7172                onChange="${remoteFunction( controller: 'importer',
Note: See TracChangeset for help on using the changeset viewer.