Ignore:
Timestamp:
Mar 23, 2010, 1:57:18 PM (10 years ago)
Author:
tabma
Message:
  • templatefieldtypes chosen in the preview page are used as a filter for the properties page (so only matches between the columns/properties can be made if they are of the equal templatefieldtype)
  • columns in the preview which are not imported and/or entities which are not used are not shown anymore in the properties-assignment step in the wizard
File:
1 edited

Legend:

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

    r299 r305  
    1616    <table>
    1717          <g:each var="stdentity" in ="${standardentities}">
     18              <% if (selectedentities.any { it.type.toInteger() ==stdentity.type.toInteger()} && stdentity.type.toInteger()!=-1) { %>
    1819              <tr><td colspan="2"><h4>${stdentity.name}</h4></td></tr>
    1920              <tr>
     
    3233                            </td>
    3334                            <td>                               
    34                                 <importer:propertyChooser name="columnproperty" entity="${selentity.type.toLong()}" columnindex="${selentity.columnindex}"/>
     35                                <importer:propertyChooser name="columnproperty" mappingcolumn="${header[selentity.columnindex.toInteger()]}"/>
    3536                            </td>
    3637                        </tr>
     
    4243                  </td>
    4344              </tr>
     45          <% } %> <!-- end of JSP if-->
    4446          </g:each>
    4547        <tr>
Note: See TracChangeset for help on using the changeset viewer.