Changeset 1444


Ignore:
Timestamp:
Jan 26, 2011, 10:10:21 PM (9 years ago)
Author:
work@…
Message:
  • changed the view to use the static variable from gdt instead of doing a dynamic function call
Location:
trunk/grails-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1443 r1444  
    109109                                flow.page = 1
    110110                                flow.studies = Study.findAllWhere(owner: authenticationService.getLoggedInUser())
    111                                 flow.importer_importableentities = GdtService.getTemplateEntities()
    112111
    113112                                success()
  • trunk/grails-app/views/importer/common/_properties_horizontal.gsp

    r1443 r1444  
     1<%@ page import="nl.grails.plugins.gdt.GdtService" %>
    12<%
    23        /**
     
    3132<!-- saveproperties action was defined in the form -->
    3233    <table>
    33           <g:each var="stdentity" in ="${importer_importableentities}">
     34          <g:each var="stdentity" in ="${GdtService.cachedEntities}">
    3435              <% if (importer_selectedentities.any { it.name.toLowerCase() == stdentity.entity.toLowerCase() } && stdentity.entity!="") { %>
    3536           
Note: See TracChangeset for help on using the changeset viewer.