- Timestamp:
- Feb 8, 2011, 3:53:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/importer/common/_properties_horizontal.gsp
r1480 r1505 41 41 }); 42 42 43 $('#clearselect').click(function() {44 45 // for each select field on the page46 $("select").each( function(){47 // set its value to its first option48 $(this).val($('option:first', this).val());49 });50 51 });52 43 53 44 54 45 }); 55 46 </script> 56 <!-- saveproperties action was defined in the form --> 47 <!-- saveproperties action was defined in the form --> 57 48 <table> 58 49 <g:each var="stdentity" in ="${GdtService.cachedEntities}"> … … 61 52 <tr><td colspan="3"><h4>${stdentity.name}</h4></td></tr> 62 53 <tr> 63 <td class="header" width="25px"><input id="clearselect" type="button" value="clear" name="clearselect"></td> 54 <td class="header" width="25px"><input id="clearselect" type="button" value="Clear" name="clearselect"> 55 <input id="fuzzymatchselect" type="button" value="Match" name="fuzzymatchselect"> 56 </td> 64 57 <g:each var="selentity" in="${importer_selectedentities}"> 65 58 <g:if test="${selentity.name.toLowerCase()==stdentity.entity.toLowerCase()}"> 66 59 <td class="header" width="200px"> 67 60 <b>${importer_header[selentity.columnindex.toInteger()].name}</b> 68 <importer:propertyChooser name="columnproperty" mappingcolumn="${importer_header[selentity.columnindex.toInteger()]}" matchvalue="${importer_header[selentity.columnindex.toInteger()].name}" template_id="${importer_template_id}" allfieldtypes="true"/>61 <importer:propertyChooser name="columnproperty" mappingcolumn="${importer_header[selentity.columnindex.toInteger()]}" matchvalue="${importer_header[selentity.columnindex.toInteger()].name}" fuzzymatching="${importer_fuzzymatching}" template_id="${importer_template_id}" allfieldtypes="true"/> 69 62 </td> 70 63 </g:if>
Note: See TracChangeset
for help on using the changeset viewer.